This will add the seconds on to the lockscreen clock. It is confirmed to work on iPhone OS 3.1.x and 3.2. This will not drain the battery significantly, as it is only active when the lockscreen is visible.