When my device is running for several days the battery drain seems to increase (to about 4% per hour or more).
Also “deep sleep” time while “screen is off” decreases, even when in flight mode.
So I had a look at the output of top -s 11 (over an adb shell) and it seems that the process “foundation.e.advancedprivacy” (fourth line below) most of the time consumes about 3-5% CPU time (even when in flight mode) and also has quite a high total time (see column TIME+):
if you want to get into the weeds with this, I’m a big advocate of battery-historian. In the 2nd graph tab you can select custom metrics: “CPU, JobScheduler, Doze, Long Wakelocks, Fg process, Screen” on y1, and “battery level” on y2 to see steep declines in battery charge. On hover you can see what is drawing by jobscheduler or wakelock and if your screen is also active, if the battery level decline is justified or if the screen is off but CPU running at all times and keeping the device from sleeping
Sounds nice!
But I’ve some problems with it:
it generates a lot of errors like:
The last error line might be related to the fact that my output x axis refers to unreliable date/time (it starts somewhere in 2022 but ends in April 2023:
I’ve now tried the mounted hostsystems zoneinfo into docker run. This makes the zoneinfo error disappear and X axis looks much better. But unfortunately data is still from 2022 to future…: