Nexus 9 batterystats report - Nexus 9 Q&A, Help & Troubleshooting

I'm working on a research project about Android smartphones power consumption. Using "adb shell dumpsys batterystats" interesting stats can be obtained. For example:
Statistics since last charge: System starts: 0, currently on battery: false
Time on battery: 1h 0m 38s 51ms (99.7%) realtime, 1h 0m 38s 50ms (99.7%) uptime
Time on battery screen off: 30m 21s 169ms (49.9%) realtime, 30m 21s 169ms (49.9%) uptime
Total run time: 1h 0m 47s 207ms realtime, 1h 0m 47s 207ms uptime
Start clock time: 2016-06-18-22-57-54
Screen on: 30m 16s 882ms (49.9%) 1x, Interactive: 30m 16s 367ms (49.9%)
Screen brightnesses:
dark 10s 89ms (0.6%)
light 30m 6s 793ms (99.4%)
....
Estimated power use (mAh):
Capacity: 6700, Computed drain: 298, actual drain: 335-402
Screen: 244
Unaccounted: 36.9 ( )
Uid u0a90: 15.8 ( cpu=15.8 )
Uid 1000: 9.58 ( cpu=9.49 sensor=0.0868 )
.....
As far as I know, the power_profile.xml is used to estimate the power consumption of each hardware component, and differs from device model to another.
Now I have couple of questions:
Q1: How does Android compute the actual drain ? I looked everywhere and I can't seem to find an answer. I also checked Android code, but unfortunately I couldn't identify the implementation of the method theat is responsible for "actual drain".
Q2: How Android estimates the screen power consumption ? the screen's value when it is on "light = 75%" state is:
ligh: 120.96 ( and it's in mA according to the power_profile.xml), I found this value on Nexus 9.
However, the report says the consumption is 244 mAh for about 30 mins, it doesn't make sense to me ! Can you guys explain it ? I tried to check the source code but again I couldn't find it.
Q3: How accurate these values in the power_profile.xml ? I found here some posts reporting some issues for Samsung devices. But I don't know about Nexus 9.

Related

low temperature affects battery

Wonder if anybody has a similar problem.
I use my XDA for work, guessing a lot of people do that, doh! And I work in a warehouse/ outside in UK.
Anyway here goes. By cold temperatures, I mean British weather! Which is in the positive Celcius range, so not that cold..
Last night it happened again. I was out in a field near Hull, working! I made a phone call, then the battery light goes red, 10% battery. In a field how do I charge it!! Simple, stick it in my pocket to warm it up. Within minutes the XDA has 60% again!!
Please any tips or similar experiences. I know that the summer is coming so things look up. But what happens when Autumn comes around again, well my contract is up, so a new phone I do believe!!!! And the XDA will just be a pocket PC, to keep in doors in the warmth.... Maybe a sony...
Martin
Cold and batteries
From: http://www.argreenhouse.com/papers/tony2/ECS00_Bond_Untr.pdf:
Tests of low-temperature discharge rate capability of various commercial Li-ion batteries showed that on average only ca. 30 % of battery capacity can be obtained at a C/2 rate at a temperature of -20 Celsius, and less than 10 % at 1C. Batteries described in this work exhibited higher capacity at C/2 at -20 Celsius (Fig. 10) than most of the recent commercially available Li-ion batteries tested. The discharge rate capability of these samples was a strong function of temperature; at a 2C rate, the capacity utilization decreased from ca. 90 % at 21 Celsius to 24 % at 0 Celsius and less than 2 % at -20 Celsius. In the above example, the C/2 capacity was 99, 95 and 37 % at 21, 0 and -20 Celsius, respectively.
Click to expand...
Click to collapse
(A discharge rate of 1C means "as many Amps as there are AmpHrs in the battery, i.e. theoretically discharging the battery in exactly one hour.)
Polar equipment often has separate battery holders: device out in the open where fingers can touch it, batteries inside insulated clothing with warm human. Tummy or inside of upper leg are warmest...
Thank you
That answers the question then.
Their developing better batteries....
Anybody else have similar experiences though...
Martin
Get yourself a battery pack - runs off 4 AA's. (Search ebay under xda). Absolutely invaluable for traveling.
Regards
Tim

Hurricane: Measure and compare your battery capacity - easy, foolproof, comparable

A lot of problems are related to old batteries and when buying new ones you don't know how "new" they are and if the keep their promise.
Worry no longer, with just
mortscript
your device
your battery (or more)
and a spreadsheet (optional)
you can take control of the facts.
The method is descibed in this generic thread.
There you also find the files you need and some apetizers to start.
Method specific discussions go there please!
Please report here in this forum only the results of your measurements in the following format:
Battery type (Producer + Model)
Battery serial number
nominal capacity (in mAh)
your device (it should only be Hurricane here!)
rundown time to 10% capacity with the standardized conditions as descibed in the generic thread
attach the file if you like, but I will not collect them
My current drain measurement for the Hurricane is:
full lit display: 88 mA
dim display: 80 mA
display on, but no backlight: 60 mA (!!)
Let me start with my data:
Code:
Type Battery Serial Battery Capacity [mAh] PBA File 10% time [s]
Samsung-ST26A 5yex149f000725 1050 Hurricane battery-data-1265006544.csv 30202
Sanyo ST26C at3a359w000642 1150 Hurricane battery-data-1264765063.csv 40567
Sanyo ST26C at3a359y001882 1150 Hurricane battery-data-1264865986.csv 42281
Sanyo ST26C at3a35cm000832 1150 Hurricane battery-data-1264926866.csv 40097
Sanyo ST26C at3a35am000417 1150 Hurricane battery-data-1264809237.csv 37302
I must tell you that the Hurricane discharge graph is the worst I have seen for all my measurements. Down to 60% it is roughly linear, but you are cheated as the 60% is in reality much less and the remaining % are eaten very fast!
enjoy!

[Q] accurate app that monitors mA drain

is there an accurate battery monitoring app that works on the motorola atrix for mA amounts while the battery drains? and the reason I ask if there is one that is accurate, because I have tried using currentwidget, its shows no data for mA, but displays % and the mV. I am in the process of trying battery monitor widget now, but after going on almost to the end of 2 days, I don't believe it's actually accurate. While my phone is not being used and screen off it's lowest standby reading was draining between 15-22mA, losing about 1% of battery every 30mins or so according to the history readout.
im running cm7 beta, faux .2.0 1.3 kernel, radio n_01.77.30p, it's an unlocked motorola atrix from bell that im using on rogers. tegrapart d00
Nothing will give you an "accurate" mA reading unless you can tell the actual mAh capacity of YOUR battery rather than what the battery is rated at. Any app that reports mA is going to be calculating it according to the mAh you say the battery is (again, already inaccurate) and how quickly the battery level percentage is dropping. There is no mA reading that it can just report, its just guessing from given data.
For Battery Monitor Widget though, 15-22mA on standby is weird, I've used that app for months and it has always said 5mA discharge for standby situations. Did you tell the app your battery's mAh rating or is it still whatever the default value is?
its still default i guess, i went to calibration tab, the total max and min are empty
the other fields below say
max: 4205mV min: 3164mV
stored: 1880maH total: 1880maH
measured: pro version only...(that one is obvious...lol)
Your battery should be rated 1930maH unless you are using a non stock battery.
Wirmpolter said:
its still default i guess, i went to calibration tab, the total max and min are empty
the other fields below say
max: 4205mV min: 3164mV
stored: 1880maH total: 1880maH
measured: pro version only...(that one is obvious...lol)
Click to expand...
Click to collapse
mV != mAh
mV measurement used in the BatteryCalibration app doesn't show your battery capacity. It can only be used as a reference point to when your battery is at 100%. (for 100% it should be around 4200mV).

Deepsleep problems?

My phone has 4-6%/h battery eating, don't know what it is.
Already reset stweaks, use other settings but still eats battery.
on bbs it says on kernel wakelock:
PowerManagerService.WakeLockks
21 minutes
(there are more, but below 7 min)
Partial WakeLocks:
AudioMix
8 min
(there are more, but below 2 min)
Alarms:
Android: 115 wakeups
com.google.android.gms: 107 wakeups
Whatsapp: 51 wakelocks
(more under 40)
CPU speed:
mostly deepsleep, 200mhz, 800mhz, 400mhz)
Screen on: 1h 50min
Wifi on & running: 10h 50min
Deepsleep: 8h 10m
Awake: 2h 45min
I don't know how to fix these issues.
ps: I am using 2G network (no data) to save battery..
GreekBlood said:
My phone has 4-6%/h battery eating, don't know what it is.
Already reset stweaks, use other settings but still eats battery.
on bbs it says on kernel wakelock:
PowerManagerService.WakeLockks
21 minutes
(there are more, but below 7 min)
Partial WakeLocks:
AudioMix
8 min
(there are more, but below 2 min)
Alarms:
Android: 115 wakeups
com.google.android.gms: 107 wakeups
Whatsapp: 51 wakelocks
(more under 40)
CPU speed:
mostly deepsleep, 200mhz, 800mhz, 400mhz)
Screen on: 1h 50min
Wifi on & running: 10h 50min
Deepsleep: 8h 10m
Awake: 2h 45min
I don't know how to fix these issues.
ps: I am using 2G network (no data) to save battery..
Click to expand...
Click to collapse
ty factory reset or firmware update
bhavstech said:
ty factory reset or firmware update
Click to expand...
Click to collapse
I had this exact problem on RR, then moved to Carbon with fresh install.
I think it was dorimanx kernel, with apolo I get less %/h

Mocking battery temperature in Android

Using
HTML:
adb shell dumpsys battery set level 5
I can moch battery level. How I can mock battery temperature. For example set it for 20 degrees. And Android sees this 20 degrees, and don't see real battery's temperature.
Bro xda is dead no one replies anymore use something like android central xda won't help you anymore. For example I once did a post that said how to factory reset a phone and got no responses ? lol
The mods will probably ban me now idc perm ban me im switching to android central byeeeeee
kantakt said:
Using
HTML:
adb shell dumpsys battery set level 5
I can moch battery level. How I can mock battery temperature. For example set it for 20 degrees. And Android sees this 20 degrees, and don't see real battery's temperature.
Click to expand...
Click to collapse
reboot your device and "adb shell dumpsys battery". this will display real information
Battery Service state:
AC powered: true
USB powered: false
Wireless powered: false
status: 5
status: 1
health: 2
present: true
present: false
level: 100
level: 50
scale: 100
voltage: 4233
temperature: 280 (28,0 C*)
technology: Li-ion
my sensor shows 20 degrees more than in room
syntax error While
syntax error if

Categories

Resources