Alarm drains battery - OnePlus 3T Questions & Answers

Hi
I have an issue whenever I use the default alarm app (for alarm or timer) on my oneplus 3T: there is a high level kernel wakelock which drains my battery (see screenshot)
If I force stop the app then everything goes back to normal
Any idea of how to solve the problem?

Are you using the Stock ROM? I'm on FreedomOS and don't install almost anything during flashing. In the Play store I install Google's Clock and haven't had any issues with the alarm and battery.
Also, is there a timer you set and is active on accident by chance? I left the stopwatch on once and that seemed to kill some battery.

yes I'm on the stock ROM
it has happened when I used the timer (but I cannot say if it was on standby or simply paused), however, it also appears when I set an alarm (which I don't do everyday, so the link is easy to confirm)

Related

[Q] Battery Drainage cannot be stopped!

I need help with my battery drainage, I cannot seem to track down what is the cause of my problems here. While at work I get a drain of anywere from 30-40 percent in about 5-6 hours! now that seems like ALOT.
I've tried stock, CM 6 R2, and Enom - I am on a custom kernel (2.6.35-925mV-CFS-SVS-720p-Monks-081010).. I am currently on that kernel and Enoms latest rom.
I've tried many things I've found on this forum. I installed "ShutUpBatterySaver", I removed my task manager, removed TiKL (heard it wasted battery while not in use), uninstalled ALOT of apps that I dont use/need just in case, Installed OSMonitor and watched to make sure nothing is using the CPU while its trying to sleep (I get less than 10 percent in use at any given time while the phone should be idle from android system mostly), I've stopped using live wallpapers and made sure my auto dim setting is on..
I'm not sure what else to do here Please Help!!
Thanks
viper2g1 said:
I need help with my battery drainage, I cannot seem to track down what is the cause of my problems here. While at work I get a drain of anywere from 30-40 percent in about 5-6 hours! now that seems like ALOT.
I've tried stock, CM 6 R2, and Enom - I am on a custom kernel (2.6.35-925mV-CFS-SVS-720p-Monks-081010).. I am currently on that kernel and Enoms latest rom.
I've tried many things I've found on this forum. I installed "ShutUpBatterySaver", I removed my task manager, removed TiKL (heard it wasted battery while not in use), uninstalled ALOT of apps that I dont use/need just in case, Installed OSMonitor and watched to make sure nothing is using the CPU while its trying to sleep (I get less than 10 percent in use at any given time while the phone should be idle from android system mostly), I've stopped using live wallpapers and made sure my auto dim setting is on..
I'm not sure what else to do here Please Help!!
Thanks
Click to expand...
Click to collapse
Your system is using 10% cpu while the phone is IDLE??? Yeah, that's not right. Mine is in the noise (<1%) when idle.
viper2g1 said:
I need help with my battery drainage, I cannot seem to track down what is the cause of my problems here. While at work I get a drain of anywere from 30-40 percent in about 5-6 hours! now that seems like ALOT.
I've tried stock, CM 6 R2, and Enom - I am on a custom kernel (2.6.35-925mV-CFS-SVS-720p-Monks-081010).. I am currently on that kernel and Enoms latest rom.
I've tried many things I've found on this forum. I installed "ShutUpBatterySaver", I removed my task manager, removed TiKL (heard it wasted battery while not in use), uninstalled ALOT of apps that I dont use/need just in case, Installed OSMonitor and watched to make sure nothing is using the CPU while its trying to sleep (I get less than 10 percent in use at any given time while the phone should be idle from android system mostly), I've stopped using live wallpapers and made sure my auto dim setting is on..
I'm not sure what else to do here Please Help!!
Thanks
Click to expand...
Click to collapse
me too the battery life on n1 sucks for me... i would unplug it then when i get to work on idle i turn it on it drops like 10 -15 percent in about an hour or so...??
Here is what I did.
1. Try to use black themes. I installed black desire bar and use black wallpaper.
2. Install SetCPU and set it to "on demand"
3. Change Wifi sleep policy to never.
4. Turn off autosync and use Shutupbatterysaver (This app automatically closes even after adding to task manager ignore list)
5. Remove widgets that auto refresh.
6. I'm using the same kernel as yours.
I also have **** battery life. Is it almost a must to calibrate the battery if you want to achieve good battery life?
Some people comment about how they have 36 hours of battery life OVERCLOCKED. If only my battery could come remotely close to that!
Unplugged my phone 1.25 hours ago and I'm already at 92%!
Edit: hmm, it tells me that my phone has been awake for 28 of the 75 minutes which is essentially impossible. Is there an issue where the phone takes too long to sleep?
I just recently got some very good usage out of my battery. Over night it only dropped something like 4%.
I'm not sure exactly what to attribute to as I've tried so many ROMS etc recently but the main things are probably
Installed SetCPU and set to 245min 500max
When in wifi location connect to it for data sync instead of 2g/3g as it uses less power when idle.
rickytenzer said:
I also have **** battery life. Is it almost a must to calibrate the battery if you want to achieve good battery life?
Some people comment about how they have 36 hours of battery life OVERCLOCKED. If only my battery could come remotely close to that!
Unplugged my phone 1.25 hours ago and I'm already at 92%!
Edit: hmm, it tells me that my phone has been awake for 28 of the 75 minutes which is essentially impossible. Is there an issue where the phone takes too long to sleep?
Click to expand...
Click to collapse
Something you're running is keeping it awake.. Most likely you have online/syncing/notifications on IM, Facebook, Twitter, something like that... Not the apps themselves, but them set to sync etc..
Spare Parts should be able to tell you what's keeping it awake.
What's UID 10018?
Here is what I did.
1. Try to use black themes. I installed black desire bar and use black wallpaper.
2. Install SetCPU and set it to "on demand"
3. Change Wifi sleep policy to never.
4. Turn off autosync and use Shutupbatterysaver (This app automatically closes even after adding to task manager ignore list)
5. Remove widgets that auto refresh.
6. I'm using the same kernel as yours.
Click to expand...
Click to collapse
Some details I forgot origionally:
1. I have a black theme and my wallpaper is dark not black though
2. SetCPU is not installed but via spare parts I have my max at 107520 and govenor is on demand
3. My Wifi policy is never
4. i tried shutupbatterysaver and switched to juice defender but will probably switch back
5. I removed all widgets that auto refresh except the facebook widget (set to never refresh but it does anyway for some reason), and beutiful home widget set to update weather every 6 hours.
When in wifi location connect to it for data sync instead of 2g/3g as it uses less power when idle.
Click to expand...
Click to collapse
I try to do this as much as possible actually.
Something you're running is keeping it awake.. Most likely you have online/syncing/notifications on IM, Facebook, Twitter, something like that... Not the apps themselves, but them set to sync etc..
Spare Parts should be able to tell you what's keeping it awake.
Click to expand...
Click to collapse
Here is a bit of my partial wake usage: Android system (Most), UID 10020, Dialer, Facebook, TiKL (anyone know what that is?), then News and Weather (I never use this not sure why its there), JuiceDefender, Handcent SMS.
OTher Usage shows: Running 54.9%, Screen on 27.1%, Phone on 15.9%, Wifi On 90.1%, Wifi Running 49.6% - All since last boot
rickytenzer said:
What's UID 10018?
Click to expand...
Click to collapse
It's usually OS monitor I think.
Anyone have any answers?
viper2g1 said:
Anyone have any answers?
Click to expand...
Click to collapse
In the process of calibrating my battery by draining it COMPLETELY (as in I can't even access the bootloader) and then charging it fully. I'll let you know if that helps!
Seems as if it's helped quite a bit. I managed to boot up, deal with the phone for a few minutes and download a 65MB file over WiFi and when I unlocked I was still at 99%. Try re-calibrating.
Try removing handcent. I used on my g1 and out was a serious battery hog.
Sent from my Nexus One using XDA App

[Q] Battery draining even in sleep mode

Guys, I have been using the Incredible S for the last 5 months now and my battery always used to last the whole day. In sleep mode, it never used to drain more than 10% through the whole night. I don't use GPS, Bluetooth very rarely, no Wi-Fi, brightness @ 30%, backlight @ 15 secs.
However, over the last 2/3 days my battery is draining like anything. Last night it drained from 45% to 3% through the night without any usage.
Can someone throw some light on this issue
Probably an app you downloaded keeping your phone from going into deep sleep
scoobysnacks said:
Probably an app you downloaded keeping your phone from going into deep sleep
Click to expand...
Click to collapse
Yeah what applications do you have installed? Words with Friends was the biggest culprit for me.
Get the application cpu spy to check for deep sleep and use a monitor app to check for high cpu usage from apps
Thanks for replying guys!
Haven't really downloaded any apps recently, Downloaded ADW Launcher and then uninstalled it.
Can you guys help me with some monitoring apps and is Cpu spy an app?
Me_Saim said:
Thanks for replying guys!
Haven't really downloaded any apps recently, Downloaded ADW Launcher and then uninstalled it.
Can you guys help me with some monitoring apps and is Cpu spy an app?
Click to expand...
Click to collapse
Yes cpu spy is an app.
Try system tuner..
scoobysnacks said:
Yes cpu spy is an app.
Try system tuner..
Click to expand...
Click to collapse
is your mobile data turned on? if not, presuming u have downloaded anything since u bought your incs, chances are your battery is "leaking" charge. replace the battery
I have quite a few apps; facebook, ebay, whats app, Go SMS, sky sports and news, titanium backup, fonts installer and currently running VU v2.39.0. By midday I have lost around 40% battery from full charge over night. I'm loosing about 1% every 5 mins!
Have stopped using live wallpapers, unchecked auto sync and always-on mobile data, using battery booster to control wi-fi so it is not always on, do not use bluetooth, brightness less than 50% and screen timeout set at 1 minute but I always lock it anyway. I have also installed system tuner, but to be fair I do not really understand it all, especially governors and frequencies ect. I have also calibrated the battery recently and wiped the battery stats a number of times.
Do I have to uninstall these apps in order to get half decent battery, which for me kind of defeats some of the objects of having a smart phone! Sleep is when the screen is off yes?
VaderXI said:
I have quite a few apps; facebook, ebay, whats app, Go SMS, sky sports and news, titanium backup, fonts installer and currently running VU v2.39.0. By midday I have lost around 40% battery from full charge over night. I'm loosing about 1% every 5 mins!
Have stopped using live wallpapers, unchecked auto sync and always-on mobile data, using battery booster to control wi-fi so it is not always on, do not use bluetooth, brightness less than 50% and screen timeout set at 1 minute but I always lock it anyway. I have also installed system tuner, but to be fair I do not really understand it all, especially governors and frequencies ect. I have also calibrated the battery recently and wiped the battery stats a number of times.
Do I have to uninstall these apps in order to get half decent battery, which for me kind of defeats some of the objects of having a smart phone! Sleep is when the screen is off yes?
Click to expand...
Click to collapse
uninstall ebay, facebook and unsync news. if no improvements, replace your battery
VaderXI said:
I have quite a few apps; facebook, ebay, whats app, Go SMS, sky sports and news, titanium backup, fonts installer and currently running VU v2.39.0. By midday I have lost around 40% battery from full charge over night. I'm loosing about 1% every 5 mins!
Have stopped using live wallpapers, unchecked auto sync and always-on mobile data, using battery booster to control wi-fi so it is not always on, do not use bluetooth, brightness less than 50% and screen timeout set at 1 minute but I always lock it anyway. I have also installed system tuner, but to be fair I do not really understand it all, especially governors and frequencies ect. I have also calibrated the battery recently and wiped the battery stats a number of times.
Do I have to uninstall these apps in order to get half decent battery, which for me kind of defeats some of the objects of having a smart phone! Sleep is when the screen is off yes?
Click to expand...
Click to collapse
With system tuner you can check how much cpu an app has been using. Very high amounts usually means a rogue app that isn't allowing your phone to sleep.

Deep sleep problem

Hello world,
I just noticed this disturbing issue. I lost about 16% battery in one night. When I looked at battery state I noticed alot of tiny little wake moments during the night.
What kind of application can cause this? Or are there any known bugged apps that cause this?
Wakker is dutch for Wake
Sent from my GT-N7000 using xda premium
. THE Galaxy Notes when goes into standby (screen off) should go into deep sleep mode is a mode that allows you to keep to a minimum processor frequency to conserve the battery. Unfortunately, between the various firmware updates that we do and the various programs that we install (some of these work in backround without noticing it) can happen that the Note is no longer able to enter deep sleep mode remains fixed at 200mhz even while on table with display off.
To find out if our notes go into deep sleep, just install the free CPU Spy download here: https://play.google.com/store/apps/...wsMSwyLDEsImNvbS5idmFsb3Nlay5jcHVzcHkiXQ..--- If your notes do not enter into deep sleep the greater the percentage occupied by the item above, or 200mhz. The fact that it is a 200mhz is quite useless to us since we're not doing anything with the device as it should be on standby at that time. It happens so that at night, leaving the device on but without the latter is used, however, so battery consumption (having remained fixed at 200mhz) and the following morning surprise that we find the percentage of low power.
To overcome this problem needs to be done in the following way: Deep Sleep Guide
- Go into settings and remove the following tones: sound freezes the screen and sound selection - Set the device in flight mode - Turn off the device - Remove the battery for 10 seconds - Power on the device - Wait until everything is loaded - Remove Airplane mode
And that's it. The Notes should regularly go into deep sleep after doing this guide. To check everything just to keep notes on standby for about ten minutes and see if The candidates and the percentage of deep sleep increases.
Hi
Even I face this battery issue....it is severe in my case. I hardly get 14 HRS of battery life even after about 30 charging cycles
I've installed CPU spy, I found that the CPU stays in 200Mhz, for testing purpose I had kept my cell phone untouched in flight mode for about 12hrs but still I lost more 50% of battery.
I had tested the battery by completely charging it, it just drains before my eyes . . .
I don't know if this is deep sleep issue. please help me.
Naveen
Sent from my GT-N7000 using XDA
1. Flash and test different kernels in case of battery drain. Some are easier on your battery than the others. 2. Use Titanium Backup to freeze or uninstall crapware. This list is a useful guide as to what can/can't be removed from your system: https://spreadsheets.google.com/spr...SENVeXlqUm5vV0E&single=true&gid=0&output=html 3. Set Brightness to low value, disable autobrightness 4. Disable or scale down vibration and haptic feedback 5. Automatic syncing of your accounts is battery consuming. Sync manually if you can 6. Set screen timeout to 15 seconds 7. Disable fast dormancy (dial *#9900# and do it from there) 8. Don't keep your WiFi/Packet Data on all the time. However, if you must have WiFi on the second you wake up your phone, go to Settings/Wireless and Network/Wi-Fi settings - once in Wi-Fi Settings, hit the menu button (the bottom left one), choose Advanced/Wi-Fi sleep policy/When Screen Turned Off. This way your connection will toggle on/off depending on your screen on/of state 9. Disable location services via wireless networks - are you travelling that fast that you need those? 10. GPS is heavy on the battery, therefore use it sparingly
And don't use Juice or any other battery 'defenders': they keep running in the background and consume your juice by trying to save it. Not to mention other problems they can (and often do) create.
Hope this helps.
Download BetterBatteryStats and look for wakelocks (partial and kernel). Google them if you don't know what they do. Then uninstall them or fix them somehow.
Del
Sent from my GT-N7000 using Tapatalk 2
Am happy to say that the deep sleep issue haS been resolved.
I downloaded better battery stats, found that the process l2_hsic was stopping my phone from going to deep sleep mode. I tweaked the wifi settings and the battery life increased exponentially.
Thanks better battery stats
Naveen
Sent from my GT-N7000 using XDA
naveeent said:
Am happy to say that the deep sleep issue haS been resolved.
I downloaded better battery stats, found that the process l2_hsic was stopping my phone from going to deep sleep mode. I tweaked the wifi settings and the battery life increased exponentially.
Thanks better battery stats
Naveen
Sent from my GT-N7000 using XDA
Click to expand...
Click to collapse
What do you mean "tweaked the wifi settings"?
devid801 said:
. THE Galaxy Notes when goes into standby (screen off) should go into deep sleep mode is a mode that allows you to keep to a minimum processor frequency to conserve the battery. Unfortunately, between the various firmware updates that we do and the various programs that we install (some of these work in backround without noticing it) can happen that the Note is no longer able to enter deep sleep mode remains fixed at 200mhz even while on table with display off.
To find out if our notes go into deep sleep, just install the free CPU Spy download here: https://play.google.com/store/apps/...wsMSwyLDEsImNvbS5idmFsb3Nlay5jcHVzcHkiXQ..--- If your notes do not enter into deep sleep the greater the percentage occupied by the item above, or 200mhz. The fact that it is a 200mhz is quite useless to us since we're not doing anything with the device as it should be on standby at that time. It happens so that at night, leaving the device on but without the latter is used, however, so battery consumption (having remained fixed at 200mhz) and the following morning surprise that we find the percentage of low power.
To overcome this problem needs to be done in the following way: Deep Sleep Guide
- Go into settings and remove the following tones: sound freezes the screen and sound selection - Set the device in flight mode - Turn off the device - Remove the battery for 10 seconds - Power on the device - Wait until everything is loaded - Remove Airplane mode
And that's it. The Notes should regularly go into deep sleep after doing this guide. To check everything just to keep notes on standby for about ten minutes and see if The candidates and the percentage of deep sleep increases.
Click to expand...
Click to collapse
My galaxy note 2 battery is draining fast and the "android os" is at about 65% at end of day and now my battery last about 10 hours. I was trying to follow your instructions above but got lost trying to find the settings to remove some tones you mentioned. Which tones are you speaking of.
Thanks...
houstonjudge said:
My galaxy note 2 battery is draining fast and the "android os" is at about 65% at end of day and now my battery last about 10 hours. I was trying to follow your instructions above but got lost trying to find the settings to remove some tones you mentioned. Which tones are you speaking of.
Thanks...
Click to expand...
Click to collapse
Note 2? Wrong forum..However, to answer your question, he is talking about the tones under Settings> Sound> System.

[Q] My phone keeps dying!

In the last week or so I have picked up my phone three times and it has been dead.
The power button doesn't turn it on again.
I have to take the battery out and then restart it.
I'm running a rooted 2.35 JVT.
I have nothing untoward running ...
Settings
Sense analogue clock
DRM content
Software update
SnsService
Google Play Store
Samsung keypad
Apart from Angry Birds, there's almost nothing else, and nothing new for months except Bad Piggies.
deanbilly said:
In the last week or so I have picked up my phone three times and it has been dead.
The power button doesn't turn it on again.
I have to take the battery out and then restart it.
I'm running a rooted 2.35 JVT.
I have nothing untoward running ...
Settings
Sense analogue clock
DRM content
Software update
SnsService
Google Play Store
Samsung keypad
Apart from Angry Birds, there's almost nothing else, and nothing new for months except Bad Piggies.
Click to expand...
Click to collapse
Could it be a dead battery?
otherwise, tried to wipe and (re)flash a rom?
The battery is fine, and the ROM has been there for well over a year with no problems.
Finding the root cause of battery drain...
deanbilly said:
In the last week or so I have picked up my phone three times and it has been dead.
Click to expand...
Click to collapse
There are a number of standard steps to run through to find the root cause of battery problems, assuming the drain is caused by the OS or apps and not actually due to a physically failing battery.
I have been tracking a few battery issues myself recently and this is what I have learned from doing some reading on XDA:
There are two free apps on the app market that are typically used to diagnose battery problems:
Better Battery Stats
CPU Spy
I would recommend installing both apps. The third place to look is in the battery details in the system settings...sorry I can't remember what they look like on Gingerbread because upgraded to Jelly Bean a couple months ago, though I do remember there was less information in the stock battery info on Gingerbread.
IF you are not, indeed dealing with a physically dead battery, then the root of your battery drain is most likely caused by a background process or app that is keeping the processor in a partially active state even though the screen is turned off and one would assume the phone should not be using any power.
Android OS will automatically change the running speed of the processor in the phone based on the demand of the system. If only a few background tasks are running and updating information the speed might be 200 or 400 Mhz. If the system is running full out servicing a graphic intensive game the processor will likely be running at the full 1000 MHz speed. The speed of the processor will directly effect the battery drain.
The expectation is that when we turn the display off (not power down, just put the phone to sleep) the processor should need fewer resources and slow down, tending towards a state known as "Deep Sleep". At this point the processor us using very minimal amounts of power. Any app or process that is active in the background will prevent the processor from getting to Deep Sleep. The CPU spy app will allow you to check how much time the phone runs at various speeds. Once you install it and run it, then reset the timers in the menu and turn your screen off for about 10 or 15 minutes. Then 'refresh' the timers. Normally, you should see most of the time accumulated in Deep Sleep. There are standard background tasks such as syncing with the cell tower, updating time, mail, checking alarms etc. That will engage the processor momentarily but they should be relatively short compared to the deep sleep time. In my case, an errand process was keeping my phone at 100Mhz constantly preventing deep sleep.
Once you know that something is keeping the phone awake in the background, you can use Better Battery Stats to narrow down which process or app it is the cause. This app allows you to track the individual processes that are consuming the most time and preventing 'wakelocks'. Wakelocks are essentially an app preventing the sleep state and are very well explained in this post: http://forum.xda-developers.com/showthread.php?t=1827676
The battery info in the system settings can also be used to give clues though again, I can't remember how much detail was included in Gingerbread..
If your problem only started happening recently, then it could be a new app that you installed recently, a feature or setting you changed recently or possibly a recent update to an app that was already installed. Try to think back at any recent events that could have triggered a change in the system.
Common problem apps I have read about are:
- Facebook - seems to be bad at using lots of background processor time. (Don't run this app but reading several posts shows its a processor hog)
- Google Apps that sync - Gmail, Chrome (syncs browser history, tabs etc.), Google location stats.
The wakelocks link goes into a great deal of detail and is hugely valuable in nailing your issue down.
Good Luck, let use know via a post if you find the root cause...
Sorry, maybe I wasn't clear about it being 'dead'.
The battery is 100% or thereabouts, no problems ever with the battery.
The phone looked as though it was turned off, but wouldn't turn on again with the power button.
I have to take the battery out and put it back again, then it starts on the button.
I've cleaned the contacts, and it still happened.
User error.
Sent from my GT-I9100 using xda app-developers app
To me, it sounds more like a rogue process messing up power managing or response, but it's hard to tell what it could actually be.
For instance, you might come a cross a game that leaves your phone locked in max cpu frequency, draining the battery without explanation.
If it was me, I'd re-flash the rom from Odin, perhaps with an sd card wipe too.
Sent from horseback.

[Q] Q> cm11 bugs.

Yesterday i installed cm11 on my phone then i notice that when someone texted me bln lights goes steady and its not blinking. And before i sleep my battery is 69%, i set the alarm to 6:30am and then suddenly i woke up 6:15am and i waited atleast 20mins to hear my phone alarm but it did'nt so i decided to check my phone. This time im frustrated because the battery was drained. Does anyone experienced this in cm11?
Battery stats
darkmasterz2 said:
Battery stats
Click to expand...
Click to collapse
There are lots of possibilties how you can drain your battery quickly. 2 examples which I have experienced:
- GPS on? -> set location option to energy saving or turn it off
- continous sync with google or other accounts -> deactivate it
:highfive:
dorpm said:
There are lots of possibilties how you can drain your battery quickly. 2 examples which I have experienced:
- GPS on? -> set location option to energy saving or turn it off
- continous sync with google or other accounts -> deactivate it
:highfive:
Click to expand...
Click to collapse
Before i sleep wifi is on and alarm clock no apps are running in bg. Maybe its bcoz of 1ghz bug?

Categories

Resources