Originally posted by JohnX I guess the test would be to use only the Pentax battery in a series of 'battery in/battery out' operations, followed by the third party one, and see if the camera loses settings again during the third party battery sequence.
The thought that the changeable battery is drawing power down from the onboard one is interesting, but I'd have thought that the changeable battery is isolated from the rest of the camera when the power button is off?
That said, I seem to recall that some users reported issues with the K3II main battery drain as it appeared the GPS remained active even though the camera was switched off, so maybe modern Pentax cameras maintain some sort of connection to the main battery even when in the off position?
I hope you find a simple, zero cost, answer to your problem.
This all just guess work, but here's what I thought might be the cause, related to your advice. When using the faulty (hypothetical) third party battery, the voltage or something is slightly off and thus the onboard battery drains while the camera is in use. The setting etc., remains there as long as there is any juice left in the external battery, but when I swapped the batteries, I remember the external battery being completely depleted (the red battery icon was flashing before the camera shut off). In this case and only in this case, because of the faulty (hypothetical) low voltage (or something) third party battery, the onboard battery has zero juice left when pulling out the external battery to swap with a new one.
At any rate, I'm fine since then regardless of the battery I am using, so rather than try to figure out the cause, I'll stick to not depleting the third party battery completely for now.
Thank you all for all the advice!