Quote:
Originally Posted by PaulPosition
Hmm, I find this strange..
|
You may be right and what you are saying makes absolute sense to me - if you want to predict remaining time with some precision.
But I could offer another thought

All laptops I had to deal with for the last 5 years at least had a batteries which were able to supply metrics to OS at any moment without any need to keep track, history or any mappings in software. I do not know - may be Android and supporting hardware did not graduate to this level yet and may be it did... One thing is certain - it is Linux and batterystats.bin is completely overwritten every time Android shuts down or reboots, so there is very little point in deleting it

. Completely depleting battery and fully charging it may (or may not) make sense - depending on technology. Otherwise it looks like ghostyjack's reader needs to be exchanged.
Here is information about power supply available to Android Battery Service:
scale - int, the maximum value for the charge level
level - int, charge level, from 0 through scale inclusive
status - String, the current charging status
health - String, the current battery health
present - boolean, true if the battery is present
plugged - int, 0 if the device is not plugged in; 1 if plugged into an AC power adapter; 2 if plugged in via USB.
voltage - int, current battery voltage in millivolts
temperature - int, current battery temperature in tenths of a degree Centigrade
technology - String, the type of battery installed, e.g. "Li-ion"
None of it is in batterystats.bin by the look of it. All of that makes me think that information she provides is true - may not be the whole truth but truth nevertheless...