I know w/ CM7 u can't let battery die, what if I shutdown phone? - Android Software/Hacking General [Developers Only]

I've read that I shouldn't let my battery die if I'm using CM7.
Can I just turn my phone off when my battery gets low to prevent loosing data? Or will I loose data even if I manually power down my phone?

PEZ Dispenser said:
I've read that I shouldn't let my battery die if I'm using CM7.
Can I just turn my phone off when my battery gets low to prevent loosing data? Or will I loose data even if I manually power down my phone?
Click to expand...
Click to collapse
Your phone will not lose data if powered down , I think .
Both my Galaxy Ace and Backflip did not lose data when powered down manually .

I've powered down plenty of times with no problem!
Sent from my Nexus S 4G using XDA App

If your phone dies, it'll safely auto-shutdown and turn off.
Sent from my SCH-I500 using XDA App

tripacer99 said:
If your phone dies, it'll safely auto-shutdown and turn off.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
So you are saying the issue with Cyanogen loosing data when the battery dies has been fixed?

PEZ Dispenser said:
So you are saying the issue with Cyanogen loosing data when the battery dies has been fixed?
Click to expand...
Click to collapse
Never heard of it... do you happen to have a source for that info?

I've been running CM7 Alpha 8 on my Sensation for a couple weeks now, I've shut down many times and have not had any issues.

PEZ Dispenser said:
I've read that I shouldn't let my battery die if I'm using CM7.
Click to expand...
Click to collapse
The only thing I have read about the battery issue is completely draining a battery by turning the phone back on after CM has shut it down. Its bad news to totally and completely drain a battery. CM will safely shut down the phone before the battery gets so drained that it will cause damage to the battery itself. As far as data loss... do you lose data when you use the power button to turn the phone off or reboot it? Chances are...no.

Related

Thunderbolt not displaying battery

Hey guys I'm on the newest version of virus rom and my battery will just stay at,say,89% unless a reboot is performed. Any way to fix this?
Sent from my ADR6400L using XDA Premium App
I had that problem with the standard debloat Rom. New rom seems to update all the time.
Sent from my ADR6400L using XDA Premium App
Try this for a fix https://market.android.com/details?id=com.nema.batterycalibration
Thanks ima try it.
Sent from my ADR6400L using XDA Premium App
Grr not working
Sent from my ADR6400L using XDA Premium App
Anyone?
Sent from my ADR6400L using XDA Premium App
I really believe the battery display is an os issue. That's why I'm waiting to root.
Sent from my ADR6400L using XDA Premium App
Ugh whatever I guess ill know when to charge it when my battery dies.....
Sent from my ADR6400L using XDA Premium App
Same thing here... only happens when I use the extended battery.
psufan5 said:
Same thing here... only happens when I use the extended battery.
Click to expand...
Click to collapse
same problem as it only happens when i use the extended battery. i am trying out battery left widget no clue if it will help or calculate a good reading for me but its calibrating as i just tried it out today.
all the battery wipes in the world will not reset it and help
I get inaccurate info. Seems when i reboot my phone i loose 10-15% charge and it happens all the time. - Extended battery
sent though PNB Rapid Remit through my Thunderbolt
I was having the same issue with my battery meter sticking. The same time this happens, my Setcpu app also was sticking and would full throttle the cpu. Im running the VirusRom right now, but have experienced this problem on a few of the other Roms also. My usual fix was just wipe everything and go with new install. It started happening again last night and I followed some posters advice to let the battery totally drain and then shutoff. I then recharged to full and everything seems to be fine again.
The first time it ever started happening was right after I had wiped the battery cache and rebooted. Ive stopped doing that now, but it still happens. I notice now that I usuallly experience this after a series of reboots. Not sure whats up, but draining the battery to zero helped out last night. We'll see in a day or two if it starts happening again.
MrLoompa said:
I was having the same issue with my battery meter sticking. The same time this happens, my Setcpu app also was sticking and would full throttle the cpu. Im running the VirusRom right now, but have experienced this problem on a few of the other Roms also. My usual fix was just wipe everything and go with new install. It started happening again last night and I followed some posters advice to let the battery totally drain and then shutoff. I then recharged to full and everything seems to be fine again.
The first time it ever started happening was right after I had wiped the battery cache and rebooted. Ive stopped doing that now, but it still happens. I notice now that I usuallly experience this after a series of reboots. Not sure whats up, but draining the battery to zero helped out last night. We'll see in a day or two if it starts happening again.
Click to expand...
Click to collapse
Im actually done with ROMs until CM7 is ready. Im just going with a base rooted system and Ill use a custom kernel. Kernel is 99% of the improvement anyway.
Draining works for a day or so, then it does the same thing. I'm stock and it does it. It also does it with the stock battery. Hope they get it fixed with an update.
Sent from my ADR6400L using XDA Premium App
Mine actually just stopped working... was working for a week or so and today its just stuck on the same number until i reboot. Pretty annoying.
Bump - anyone find a solution to this? I tried running my extended battery to 0% last night and fully charging it... guess ill see if its fixed today. Pulling it off the charger, it already dropped to 95% lol...
psufan5 said:
Bump - anyone find a solution to this? I tried running my extended battery to 0% last night and fully charging it... guess ill see if its fixed today. Pulling it off the charger, it already dropped to 95% lol...
Click to expand...
Click to collapse
That's because of how it charges not foot into details but that will always happen up to a 10% drop.
Sent from my ADR6400L using XDA App
miketoasty said:
That's because of how it charges not foot into details but that will always happen up to a 10% drop.
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Right but my problem was/is the meter never changing. I think I fixed it by completely draining the battery and charging to full. Maybe the phone didnt know how much juice it had because of the different size battery.
yeah i changed to the stock battery last night and it would read fine but i really need this extended
Sent from my ADR6400L using XDA Premium App
psufan5 said:
Bump - anyone find a solution to this? I tried running my extended battery to 0% last night and fully charging it... guess ill see if its fixed today. Pulling it off the charger, it already dropped to 95% lol...
Click to expand...
Click to collapse
I cant even get the battery to drop without rebooting....weird
Sent from my ADR6400L using XDA Premium App

Phone stuck at 95%

I have a problem, I'm rootted and I installed many Tom's and I cleared battery stats still nada
Sent from my Nexus S 4G using xda premium
richielasalsa said:
I have a problem, I'm rootted and I installed many Tom's and I cleared battery stats still nada
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Dude im sure when you made that title name, it suggested threads where this was answered?
Anyway, it's a samsung feature, stops charging there so not to damage the battery.
If you want to force it, charge to 95%, then set the screen to always on and it will go to 100%
richielasalsa said:
I have a problem, I'm rootted and I installed many Tom's and I cleared battery stats still nada
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
o_o ????
wat
I don't think the extra 5% is worth it. Your battery will heat up toward the end of the charging which will reduce it's lifespan. The developer Ezekiel is actually working on a kernel mod to stop the charge at 80% to improve lifespan even further.
Sent from the future to put right what once went wrong.
Its already made lol and actually if you check the charging plan it gets the hottest and charges the most from like 0-60 and then slows
bedalus said:
I don't think the extra 5% is worth it. Your battery will heat up toward the end of the charging which will reduce it's lifespan. The developer Ezekiel is actually working on a kernel mod to stop the charge at 80% to improve lifespan even further.
Sent from the future to put right what once went wrong.
Click to expand...
Click to collapse
sent from my nexus s on a kang from simms

Battery drain -help

I turn my g2x off when I go to bed, the battery is fully charged and 8 hours later when I turn it back on the battery is allmost empty !what is wrong here?
Sent from my LG-P999 using Tapatalk
klauspabst said:
I turn my g2x off when I go to bed, the battery is fully charged and 8 hours later when I turn it back on the battery is allmost empty !what is wrong here?
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
Need more info.
Rooted?
ROM?
Proper wipes?
Sorry your right!
Not rooted
2.3.3
ADW launcher ex
Sent from my LG-P999 using Tapatalk
what kernel u running on?
Quite possibly a bad battery. Your battery shouldn't drain when the phone is off.
Sent from my LG-P999 using XDA App
Does it drain when the battery is removed from the phone?
Sent from my LG-P999 using XDA App
you should download a cm7 nightly my battery lasted from 10pm - 9am with 30% than i put it to charge
You can either do a factory reset or NVFlash CWM and flash a ROM to see if that fixes things. If not, then defective battery.
What these guys are saying is most likely, especially with that kind of drain. But also make sure you don't have any crummy apps, it apps that run when your phones off. Ex. Some weather apps run in the background and draindrain
Sent from my LG-P999 using xda premium
You guys. He said that his phone was OFF while the battery lost its juice. It has NOTHING to do with what ROM, KERNEL etc etc he is using. Now for the op; simply just get a new battery and check if the problem persists.
Sent from my LG-P999 using XDA App
Haha, yea. Read to fast, selective reader I guess. Thought I saw 'screen off' =)
Sent from my LG-P999 using xda premium
Try the same test with the battery completely removed.
If it doesn't drain that fast - Then the phone is not shutting down properly, and most likely is the result of a nasty app.
If it does still drain that fast - Then the battery is probably faulty.
barqers said:
Try the same test with the battery completely removed.
If it doesn't drain that fast - Then the phone is not shutting down properly, and most likely is the result of a nasty app.
If it does still drain that fast - Then the battery is probably faulty.
Click to expand...
Click to collapse
What could be a bad app?
I read above a wheather app, any other idea what I can.look at? Had the battery out over night and no drain!
Oh and thank you guys for all your help!
Sent from my LG-P999 using Tapatalk
klauspabst said:
What could be a bad app?
I read above a wheather app, any other idea what I can.look at? Had the battery out over night and no drain!
Oh and thank you guys for all your help!
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
In your original post when you said you turn the phone off at night, you do mean actually turning it off right? Like shutting it down and not just turning the screen off, right? Just making sure we're all on the same page. If the phone is powered down then it can't be an app because apps can only run when you're booted into Android.
Sent from my LG-P999 using XDA App
Yes I am powering it down!
Sent from my LG-P999 using Tapatalk
klauspabst said:
What could be a bad app?
I read above a wheather app, any other idea what I can.look at? Had the battery out over night and no drain!
Oh and thank you guys for all your help!
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
I would try to eliminate apps one by one. Freezing them with titanium backup or using better battery stats to see which apps have a lot of wakelocks. I had the same issue before.
Sent from my LG-P999 using xda premium
klauspabst said:
Yes I am powering it down!
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
Then its the battery. I had the problem with my g1. I would load the maps and use gps. It would say my battery is around 70% then after like 5mins the phone would get hot and then it would say i was at 30% or lower. Swap out for a new battery and it didnt do that anymore.
My g2x is kinda doing the same thing. But its a little slower. I turn the phone on in the morning 100% battery. Then use it for about an hr. (95-80%battery) put it in my pocket. Then about 2hrs later it at 40-35%. And the phone feels warm.
Also check your battery to see if it had a lump on it. If so then its a bad battery and needs to be replaced asap.
I ordered a replacement on ebay should be here by next weekend. Only $4
xile6 said:
Then its the battery. I had the problem with my g1. I would load the maps and use gps. It would say my battery is around 70% then after like 5mins the phone would get hot and then it would say i was at 30% or lower. Swap out for a new battery and it didnt do that anymore.
My g2x is kinda doing the same thing. But its a little slower. I turn the phone on in the morning 100% battery. Then use it for about an hr. (95-80%battery) put it in my pocket. Then about 2hrs later it at 40-35%. And the phone feels warm.
Also check your battery to see if it had a lump on it. If so then its a bad battery and needs to be replaced asap.
I ordered a replacement on ebay should be here by next weekend. Only $4
Click to expand...
Click to collapse
I don't think its the battery in this case.
Sent from my Flashback HC-TAB using XDA Forum App
I had a problem like this and still do at times. Part of it was the stock kernel I was running and the other part was the fact that the phone was not fully going into the low power state it was supposed to. I now only loose about 5 to 7% in the worst cases. That is better than the 20 to 30% I was loosing before.

Can someone explain this battery life ?

So I charged my phone to 100% last night an just let it sit. Here's what I got. I'm in deep sleep for sure but still I saw a linear decrease in battery. The phone isn't staying awake either. Is this from leaving Bluetooth on? Being connected to 4g instead of WiFi? Any ideas? This just baffles me since it seems everything is okay but still seeing a decline like that.
Sent from my SCH-I535 using xda app-developers app
Did you recently wipe battery stats?
If not what was something recent you have done to your phone?
Sent from my MyTouch 4G using xda premium
12 hours and only 20 % used is normal JellyBean. That equates to 1.7%/hour and a total standby time of 60+ hours. That is about as good as it gets.
Ryangyear said:
Did you recently wipe battery stats?
If not what was something recent you have done to your phone?
Sent from my MyTouch 4G using xda premium
Click to expand...
Click to collapse
Haven't touched battery stats. Only thing was flash a theme
prdog1 said:
12 hours and only 20 % used is normal JellyBean. That equates to 1.7%/hour and a total standby time of 60+ hours. That is about as good as it gets.
Click to expand...
Click to collapse
Yeah I guess to think about it that way sounds more normal. I just figured a somewhat more horizontal line. Turning off data would probably help out with that a little.
Use DS battery Saver Pro and it shuts off data when your screen is off then flicks it on for a minute periodically
Sent from my MyTouch 4G using xda premium
Ryangyear said:
Use DS battery Saver Pro and it shuts off data when your screen is off then flicks it on for a minute periodically
Sent from my MyTouch 4G using xda premium
Click to expand...
Click to collapse
But does the data come back on quick when you turn your screen on? I've used other apps like that before but I ended up waiting for data to switch back on. In situations where info quick, I don't want to have to wait for data to come back on or if it doesn't at all.
tu3218 said:
But does the data come back on quick when you turn your screen on? I've used other apps like that before but I ended up waiting for data to switch back on. In situations where info quick, I don't want to have to wait for data to come back on or if it doesn't at all.
Click to expand...
Click to collapse
I'm using it right now and before I even unlock the screen data is back. But add others said that's pretty good idle battery drain. Especially considering it appears like you don't have the best signal there.
Sent from my LG spectrum (that's right) blazing fast on cm10!
Yeah I just remembered that I can't use an app like that because I use google music in my car. If data shut off when my screen shut off, I wouldn't be able to stream my music. I like the idea though.
tu3218 said:
Yeah I just remembered that I can't use an app like that because I use google music in my car. If data shut off when my screen shut off, I wouldn't be able to stream my music. I like the idea though.
Click to expand...
Click to collapse
You can tell it to stay on with certain apps running. I stream Pandora all the time
Sent from my LG spectrum (that's right) blazing fast on cm10!
Leaving data and bluetooth on will definitely drain your battery. I always turn off everything when I don't use my phone, I don't even think about it anymore, its just become something I routinely do.
Looks good to me... 20% over 12 hours? The phone isnt going to just stay on without wasting any battery
Prico90 said:
Looks good to me... 20% over 12 hours? The phone isnt going to just stay on without wasting any battery
Click to expand...
Click to collapse
I know but I've had it better before. Not such a decline. The phone wasn't used at all during those 12 hours. It probably is part of Bluetooth.
Sent from my SCH-I535 using xda app-developers app

Massive drain with no wake locks

Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Demonic240 said:
Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Try to turn off wifi and see what happens
Demonic240 said:
Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Did you get any shots of the Kernel Wakelocks and Partial Wakelocks screens in bbs? That's where you would see the culprit(s). Also, do you ever do soft reboots? Some people (including myself) have experienced increased battery drain with no visible wakelocks after soft rebooting. Doing a full reboot seems to fix it.
Sent from my Nexus 5
It's definitely something using Wi-Fi. Need more in depth analysis
Sent from my Nexus 5 using Tapatalk
premo15 said:
Did you get any shots of the Kernel Wakelocks and Partial Wakelocks screens in bbs? That's where you would see the culprit(s). Also, do you ever do soft reboots? Some people (including myself) have experienced increased battery drain with no visible wakelocks after soft rebooting. Doing a full reboot seems to fix it.
Sent from my Nexus 5
Click to expand...
Click to collapse
I checked those but there was nothing abnormal. I'd done a reboot when I flashed the kernel back to stock pa.
Sent from my Nexus 5 using XDA Free mobile app
rootSU said:
It's definitely something using Wi-Fi. Need more in depth analysis
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I've disabled wifi and it drained to dead. Going to recharge to full and see what it does off wi-fi. What could I do to see why/if wi-fi is killing it?
You can see it is draining it in your screen shots. Maybe you didn't fully disable the background Wi-Fi usage. "scanning always enabled" for example
Sent from my Nexus 5 using Tapatalk
rootSU said:
You can see it is draining it in your screen shots. Maybe you didn't fully disable the background Wi-Fi usage. "scanning always enabled" for example
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That was one of the first things I disabled.
Demonic240 said:
That was one of the first things I disabled.
Click to expand...
Click to collapse
Doesn't look like its disabled correctly. Your screenshot shows nearly 8 hours Wi-Fi.
Maybe there is a bug in your settings data.
Not sure if you're rooted or not but maybe a backup / wipe is the best course of action
Sent from my Nexus 5 using Tapatalk
rootSU said:
Doesn't look like its disabled correctly. Your screenshot shows nearly 8 hours Wi-Fi.
Maybe there is a bug in your settings data.
Not sure if you're rooted or not but maybe a backup / wipe is the best course of action
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Here's the current setting. I guess I can factory reset again. I'll try that after this current charge cycle.
Sent from my Nexus 5 using XDA Free mobile app
You could try booting the phone into safe mode to see if it's a 3rd party app, though unnecessary if you plan on trying a full reset anyways.
Disable xposed
Sent from my Nexus 5 using XDA Free mobile app
Factory reset, no syncing enabled, no auto updates, google now disabled, no apps other than stock gapps installed. Still high android os usage.
Demonic240 said:
Factory reset, no syncing enabled, no auto updates, google now disabled, no apps other than stock gapps installed. Still high android os usage.
Click to expand...
Click to collapse
while at first it looks high, in reality it isnt(yet). in your screenshot you have only lost 5% battery so far with light use. at this point you really cant tell what your battery will be like with use.
simms22 said:
while at first it looks high, in reality it isnt(yet). in your screenshot you have only lost 5% battery so far with light use. at this point you really cant tell what your battery will be like with use.
Click to expand...
Click to collapse
How about now?
Demonic240 said:
How about now?
Click to expand...
Click to collapse
ahh, thats a little better, but itll drop a little more with use. while 20 is a little high, id still classify as normal. really anything up to 20% is normal. typically, after a full cycle, i see android os between 9-15%. but it would all depend on exactly how you use your phone.
simms22 said:
ahh, thats a little better, but itll drop a little more with use. while 20 is a little high, id still classify as normal. really anything up to 20% is normal. typically, after a full cycle, i see android os between 9-15%. but it would all depend on exactly how you use your phone.
Click to expand...
Click to collapse
Right now.. I'm not doing anything other than replying to this thread.
Demonic240 said:
Right now.. I'm not doing anything other than replying to this thread.
Click to expand...
Click to collapse
i see that chrome(and chrome sandbox) is taking a huge amount of battery for very little use. 21% together, just to respond to xda..
Install system monitor from play store and check CPU freq and number of CPU's online while screen on.
Sent from my Nexus 5 using Tapatalk
As said above....use the phone normally and check when its almost drained. It will surely be much lower.
If location is on...it will probably be higher than 10% I'd guess. If so....completely normal.

Categories

Resources