Originally posted by robespierre maybe its only a signal of something bigger
Your camera needs to draw a tiny bit of power to keep the built-in clock running when your battery is out of the camera, and the capacitor that dhodgeh mentioned stores enough charge to run the clock for several days. Once the battery is back in the camera (assuming it isn't completely dead itself) it will restore the full charge to the capacitor. If that capacitor failed because of another problem with the camera, other camera functions wouldn't be working even when a charged battery was in the camera, and the failure of that capacitor can't lead to other failures with the camera (the clock just doesn't run when the battery is out of the camera). I don't know for sure, but replacing this capacitor probably requires the replacement of an entire circuit board (which can only be done by authorized Pentax repair centres and is likely to be expensive), so if you are still able to get the repair done under warranty, I would suggest getting it done now, otherwise decide if you can live with re-setting the time every time you take the battery out to charge it.