[Q] Battery Usage Incorrect - Nexus 5 Q&A, Help & Troubleshooting

Hi everyone, I was going to wait until tomorrow to post a question but something weird happened just now that changed the situation. I recently got a replacement, so I decided to root, run xposed and greenify. I was testing out the battery and it was doing fairly well. I got almost 2 days with 3 hours of SoT. This morning after unplugging I noticed Android System (or Android OS) was taking a significant chunk of %. However, it didn't seem as though my battery was draining a lot. I tried rebooting and charghing back upto 100% and it still kept happening. At times it was Android System and at other times it was Android OS.
I decided to download BBS since from reading the forums that seems to be a way to determine the culprit. At first BBS was showing a wake lock ratio of about 85% wake lock and 15% deep sleep. This was having the phone on for about an hour. It showed it being kept awake for about 40 min or so. The battery wasn't draining incredibly fast, but the stock battery history chart was showing that it was taking about 50% of the battery. I decided to just let it be and see how it does throughout the day so if it continues I can just post the log here. After a few hours it seemed to have gone away. While it was still showing that Android OS was taking about 30%, the wake lock/deep sleep was getting better where at this point after 10 hours it's about 6 hr 45 min of deep sleep, 3h 12m of wake lock with 1 hour and 2 min of SoT. The battery is at 71%. So, there doesn't seem to be an extreme drain. However, what was really strange was I was just looking though GravityBox settings (only added day to status bar clock, not sure if it was after that) and the battery usage just changed on the stock battery, and GSam, where Android OS is showing that it took 73% of the battery and even the screen which was on for an hour only took 6%.
Has anyone encountered this? I can post the log from the first hour and the log from now if anyone is willing to look at it. Thanks!
I'm rooted, with TWRP, xposed module with gravity box, greenify, and app oppsX. Those are my only mods.

derp. misread.

Related

Really bad battery life

I bought the Nexus 5 on it's release and sadly the battery life has been really bad for a few days now. The phone also restarted a few times randomly while being in standby.
This is my current battery usage (I hope it's viewable):
Yesterday:
h**ps://drive.google.com/file/d/0B5TjklEnFH1Kb3F1dkswQjdiYTg/edit?usp=sharing
About 1 hour of screen on time and the battery is already down to 41%, even though I didn't do anything on the phone, except watching the battery usage. I didn't even use the phone-app and it's still listed.
Today:
h**ps://drive.google.com/file/d/0B5TjklEnFH1KWTFwbEI0amVHdmM/edit?usp=sharing
Screen on time: ~40 min
Cell standby & Wifi running: ~8.44 hours
Phone idle: 8.8 hours
Wakelock Detector & Better Battery Stats:
h**ps://drive.google.com/file/d/0B5TjklEnFH1KbWhFQlgwSkNOQ1U/edit?usp=sharing
h**ps://drive.google.com/file/d/0B5TjklEnFH1KeHZnMUZFaVlZdHc/edit?usp=sharing
I'm using stock Android (rooted), a factory reset didn't help.
Is there a way to fix this?
Thanks in advance
Your second day seems normal. Nothing to worry about there.
The first day battery killer was the Battery stats plus app. According to your graph it started draining after you rebooted.
On a typical day for me Android system, Android OS, and Google Services all hover between 12-6%
You can try loading a custom kernel and tweaking the CPU settings, you can load the app Greenify

[Q] Battery plummeting after vibration problems

I've had an HTC One Mini for about 6 months now and haven't any real problems. Last night, it decided to stop vibrating completely. After two restarts and a knock on its back, the motor seems to be working again, but it is running warm and the charge is plummeting. Just sitting on my desk it lost 40% charge in just over 2 hours and it's running warm. I've had the issue in the past where Android System was using a lot of power, but it's not being reported as anything significant this time, neither is any other app.
Better Battery Stats CPU states has 1.4GHz for 1h58m, 1.03GHz for 29m, and nothing else significant. This is from charged to current while I am at 49% battery. Screen has only been on 12m in that time, but it has been awake the entire time. The battery is at 34C in a cool room.
I'm running CyanogenMod version 11-20141112-SNAPSHOT-M12-m4, which is Android 4.4.4. Nothing changed that I know of when the problems started.
I just noticed that the vibration is now weaker than it normally is (and was earlier today), still working, but weaker.
Any ideas?
download wakelock detector and let it run in the background for about an hour. Then check it to see which program or service is keeping your phone awake. Once you find it, kill it and wait another 15-20 minutes and check the power stats within your settings to see if the phone has stayed awake since then or not.

Battery Problem

Hey Guys
i have a strange Problem
my last one plus one had a good battery life time but the sound buttons get brocken , so one plus change my mobile.
1 wekk ago i get my new phone, everything is working but the battery drain was very fast.
i decided to install blisspop with bueffola kernel tweaked it a little bit for battery saving and install BBS for wakelock detections.
I elimenate all the wakelocks that cause a fast battery drain and since that te battery drain in idle is minimal but when my mobile phone is on the battery drains 3% in 1 hour.
That's weird cause as i say i eliminate all the wakelocks that causes fast drains and use the phone most time for spotify and whatsapp.
And if i start to browse on the Internet the battery life drops even faster
So what can i do?
Am i do something wrong
or is the battery of this new phone crap and i'm so luckily to get a phone with a failiure battery?
Any suggestions would be nice and sorry for my bad english.
German or russian is better
on 50% battery i have something like 2h of screentime so i thing till 0% battery i will have 4h SOT and this is nothing (don't use the Phone much a saing above only whatsapp and spotify)
Well, to be honest, 13% in 4:30h is not "very fast" considering you had 30 minutes of screen time. Mine loses about 10% per 30 minutes of using the device, going by that there are only 3% unaccounted for which easily fit the 4h standby your device was in.
Anyway. In 4:20h of tracked time, you have 1h awake time of which you had 35min of screen time. The remaining 25 minutes can be split up in roughly 15min of AudioOutput and 10min for several wakelocks such as the proximity sensor doing stuff for 3 minutes, the phone doing stuff for 4 minutes, basically everything is accounted for. All in order I'd say.
What I spotted:
You are on Lollipop. Did you wipe after/before upgrading to Lollipop or did you dirty flash from CM11s?
Do you have the new Lollipop-compatible firmwares (they come with CM12) installed? Not sure they come with Blisspop.
BetterBatteryStats has the CPU sitting on 1500MHz for half an hour. Check whether you configured your system to stay at 1500MHz with screen on which of course would be crap, the CPU should idle at around 300MHz.
It seems you had the device shut-down and then booted. Booting up the device eats massive amounts of juice.
Android reckons 3 days of usage like that, what's not ok with that?
1. Yes i wiped it and don't dirty flash the rom befor i was going to lollipop
2. Not sure have the latest bissplop
3 Where can i check what i configured to stay at 1500MHZ , in the kernel settings?
4. i know i rebootet it once
5. The reckons of the 3 days is not true , it only affects if my device is staying in standy cause i lost nearly nothing (as you will see in the logs i posted in the spoiler.)
The first BBS log shows the Device fully charged at 100% with wifi and Mobile Data on. I left the Phone in standby for the night (8h) and i didn't lose any precent.
So after 8h standby i still have 100%
After 11 o'clock till now i used the Phone mostly for spotify , a few times Whatsapp and something like 30-50min for internet.
In the second BBS log you will see that i lost Bat.: -35%(88% to 53%) [4,5%/h] although the SOT time is only at something like 2h.
The SOT time of 4h would be total normally for me if my reckon of android would be 3 days cause this is the case on my lg g2.
Because i use the phone most of the really only for spotify.
So the main problem of my device is not the idle drain but the drain if the screen is on or spotify works in the background with screen of.
I hope that the BBS logs in the Attachment and the 3 pictures can help you.
Thanks for your help
Don't go by the sudden drop of battery percentage after staying in standby for a long time, eg. over night. The very subtle decline of the voltage over the course of the night is smoothed out and reported as 0% lost. Once you start using the device, and the change in voltage gets more noticeable, the situation is re-evaluated and the previous drop of 0% gets counted in and a sudden drop of several % over a short amount of time will occur. This is physics and by design.
As for the rest, I'm by no means a pro in reading BBS Logs but from what I see, yes you are on Lollipop firmwares/baseband so we're good. The device enters deep sleep just fine, excellent in fact. No major or irregular wakelocks seem to occur, perfect.
As for the daily usage log, I see 7:45h. Of which 4:10h in deep sleep and 3:35h awake, of which ~2h screen on and ~30min phone on. You lost 35% in that time, averages 4.5% per hour. This seems perfectly ok. This would translate to 7h awake time with 4h screen time. I seem to fail to see your problem.
Interestingly the frequency tops now at 1500MHz. Did you change something?
To take myself as an example, on my way to work, I lost 19% in roughly 45-50 minutes of playing ingress. I had about 45 minutes of screen time, GPS constantly active and of course constant data traffic. I arrived 2h ago, barely touched my device in those 2h and lost another 2%. This is more or less in line with your usage, 1-2% when sleeping, 4% when awake with screen off, ~20% with screen on. You're not happy? You reckon you had more on your previous device?
Thanks for reply and help
My goal is to have a few days with android e.g 2-3 days
SOT is not so important.
Important is that there is not hudge battery drain wenn i hear spotify cause it dosn't mather if the screen is on or off it drains hard
On my lg g2 it's not so hard
And no didn't change anything about 1500MHZ
Any suggestion ?
Greetings
EDIT:
Open the back cover of the Phone
The battery is bloated
Video and Pics attached
View My Video

DOZE stopped working ?

Let me start by saying that DOZE had been working great for me since the upgrade. My usage patterns haven't changed, yet DOZE seems to have stopped working..
Usage pattern:
- Phone is only used during work hours (Mon - Friday 730am - 400pm) and is at 100% charged by 400pm.
- ALL other times phone is sitting tucked away in drawer and not being used.
Up until this past weekend DOZE has been working great. I'd grab my phone at 730am and it would have 93+ % battery remaining to start my day.
This past Sunday I grabbed my phone (after sitting in the drawer since Friday at 400pm) only to be surprised to see the battery low message and battery being at 13%. I put it on the charger and let it fully charge. I then rebooted the phone to rule out anything that may have messed things up. After using google maps for a bit I retired the phone around 400pm with about 85% batttery. Monday morning, 730 rolls around and I'm down to 53% battery @#$ I rebooted the phone again to try to rule out anything that could mess it up. Phone was at 100% again by 400pm and found it's way to the drawer until 730am the next morning only to be at 56% @#$$#@. I also computed the total amount of mAh used by all listed apps under battery and it only amounted to 363mAh. That's approx. 10% of the battery capacity, not 44% @#$
I'm not sure what the heck could have changed @#$#
- Under Battery Optimation the only app NOT optimized is : Google Play Services
- Under Battery - Phone Idle shows 17 hours idle
Again, my usage patterns and settings have not changed prior to this starting to happen so I'm a bit at a loss here.
Since DOZE is completely autonomous and quite new I was wondering if there might be anyway to troubleshoot this ?
Here is a pic of my Battery Usage screen :
Same with me. Worked fine for a couple of weeks(where battery drain was about 3-4% in the night) but now battery drains by 25-30% every night.
Another day, same behaviour.
This time just prior to unplugging at 400pm and retiring to drawer for the night I swiped away all recent apps and rebooted the phone
The picture below shows all but twos apps/services.
They are Cell Standby @ 2% and Google Services @ 1%.
And that's it @#$
I think the culprit to my issue lies in WIFI ....
http://forum.xda-developers.com/google-nexus-5/general/guys-call-wifi-battery-drain-6-0-t3219870
Disabling WIFI seems to let my phone enter Doze mode w/o issue.

Wakelock battery drain [Need Help]

Hello, guys!
I have a problem with my phone for the past few months and after clean flashing 7.0 Nougat it's still present.
My problem is that when I'm home, my phone drains not even few percent of battery. Specially when I'm sleeping, I can go to bed with 100% battery and wake up with 98-99%. BUT when I'm out, specially when I'm working since my work involves a lot of walking the battery just drains like hell and I mean like 7-10% per hour considering I don't even use the phone. Sometimes I will have 30min to an hour of screen-on time and after 10 hours of work I will be home with 15% of battery left.
Now I know that this is mostly to some rouge app that keeps my phone awake and drains my battery but I'm not really sure how to pinpoint it.
I will provide my stats from Bettertbatteystats and WakelockDetector if you guys can help me.
Thanks in advance!
Edit: I just want to explain that the straight line on the first picture with the batter drain graph is when I went home and left my phone on the table for about 3 hours. You can clearly see that the difference in battery consumption during my phone being in my pocket and on the table.

Categories

Resources