Related
I have a Gtab with TnT Lite 2.2.0, and its been asleep for approximately 24 hours. When I slept the display yesterday, the battery was at 92%. Just woke it up, and now its 52%.
I slept it via a quick press of the power button on the side. Should I long press and then select 'Sleep'? Seems like the WiFi was definitely off, when it woke up it had to reconnect to the wireless. Its been awhile since I messed with Android, my last device was a G1, and I'm not sure if it lights up the WiFi when its asleep. My battery use is WiFi - 45%, Device idle - 44%, Android System - 10%, Display - 2%.
Does this sound normal battery drain?
Sounds normal to me. I went from 75 to 34 overnight, just sitting unplugged.
If you're running TnT Lite, don't let the battery get to low... Mine got low, started a FC loop and I lost everything. Guess it's time to start over
This drain is why I want to see if getting SetCPU or similar apps working would help keep screen off battery use down to a minimum. It may or may not work, there may be other apps and things we could try, something to really shut down all the extraneous running junk.
Mine loses about 4%/hour in sleep mode. But I have the problem with my unit where it won't "wake up" once I put it to sleep (detailed all I've tried to fix this on this thread: http://forum.xda-developers.com/showthread.php?t=855821).
Even though it won't wake up, it still burns about 4%/hour in sleep mode.
To work around the "it won't wake up" I use regpon wifikeepalive from the market which prevents the cpu from totally disengaging. I also use CPUBoost from the market to set the cpu to 216000 when the screen is off. Doing this should still result in higher battery drain than if the unit slept properly but in my experience it does not, it still drains at about 4% an hour.
My Archos 101 however does not behave like this. When sleeping it drains at a rate of about 1% every 2 hours. Whereas the GTablet will die in sleep mode in about 25 hours, the Archos could stay alive for about 200 hours!
I did some testing with the two, using DDMS (part of Android SDK). Oddly, when the Archos is "sleeping" the USB port is still active and I can get logging out of it, whereas the GTablet shuts down the USB port (odd becuase its the GTablet which is burning battery). The Archos does seem to log its power down/power up elegantly from what I can tell...I can't tell anything about the GTablet because it shuts down the USB port for debugging. Log2SD on the Gtablet doesn't really tell me much either.
There is something very wrong with the power management stuff on this chipset/or on the GTablet. This is definitely something that would be good to see addressed at some point. Having a tablet that can stay away from the wall charger for a week (Archos) is definitely nicer than having one that you have to put on a charger nightly.
Can anyone else report what their battery drain is like while the unit is sleeping?
Sean
If you run dmesg (either via ADB shell or via Terminal Emulator) you'll probably see lots of wake-sleep-wake-sleep activity going on while it's supposedly asleep. At least I've seen that with Vegan ROM.
Also, just because your Wifi was asleep when you woke up the G Tablet doesn't in my experience mean it was really asleep the whole time.
As an experiment, I'd suggest you charge up your G Tablet, then manually turn off Wifi and try sleeping it overnight. When you wake it up, check the battery usage and compare - I'm guessing it will be significantly lower, but you need to try for yourself.
The power management stuff is definitely still quite beta quality with our kernel and ROMs. I think that's mostly NVidia's fault. To a lesser extent it's a function of support from the ROMs which will improve.
rcgabriel said:
If you run dmesg (either via ADB shell or via Terminal Emulator) you'll probably see lots of wake-sleep-wake-sleep activity going on while it's supposedly asleep. At least I've seen that with Vegan ROM.
Also, just because your Wifi was asleep when you woke up the G Tablet doesn't in my experience mean it was really asleep the whole time.
As an experiment, I'd suggest you charge up your G Tablet, then manually turn off Wifi and try sleeping it overnight. When you wake it up, check the battery usage and compare - I'm guessing it will be significantly lower, but you need to try for yourself.
Click to expand...
Click to collapse
Thanks for the dmesg advice, I'll play with that. I'll try turning off my wake fix hack (regponwifi), turning off wifi, letting it sleep overnight, then restarting it (since it won't wake) in the morning to see if the battery drain goes down and report back here tomorrow.
Sean
Narcoleptic said:
I have a Gtab with TnT Lite 2.2.0, and its been asleep for approximately 24 hours. When I slept the display yesterday, the battery was at 92%. Just woke it up, and now its 52%.
I slept it via a quick press of the power button on the side. Should I long press and then select 'Sleep'? Seems like the WiFi was definitely off, when it woke up it had to reconnect to the wireless. Its been awhile since I messed with Android, my last device was a G1, and I'm not sure if it lights up the WiFi when its asleep. My battery use is WiFi - 45%, Device idle - 44%, Android System - 10%, Display - 2%.
Does this sound normal battery drain?
Click to expand...
Click to collapse
Mine also drains way too much when sleeping. Right now I'm experimenting with disabling services. Calendar, Gmail, Contacts, Dropbox .. many of these just duplicate what my phone does so I just moved them to bookmarks in a browser.
Something really eats battery when asleep. In comparison my iPad would probably go a month in sleep mode. Whatever Apple is doing with batteries and power management is fantastic.
I'm currently running Vegan 5.1 and hope to switch over to Cyanogen 7 soon. I may try playing with Juice Defender.
So I reflashed last night using Pershoot's new kernel and tntLite 4.21. I've loaded almost nothing back on the unit. I shut down wifi, presed the power button to put the unit to sleep overnight and here's what I saw:
80% @ 12:27am
48% @ 9:18am
So it dropped 32% in almost 9 hours or around 3.5%/hour. Note that it still didn't wake from sleep, I had to reset it. Pershoot posted that he's going to try to put more logging in his kernel to see what is going on with the failure to wake scenario.
Clayfree, I'm not sure this is an Apple vs Android thing, the Archos 101 I have here is Android and it drops battery life MUCH slower than the Gtablet. I think this is more a Gtablet issue. This is going to be an issue for Google, different hardware makes it a much more challenging proposition than what Apple has to deal (one type of hardware that they control).
Sean
stiphy said:
So I reflashed last night using Pershoot's new kernel and tntLite 4.21. I've loaded almost nothing back on the unit. I shut down wifi, presed the power button to put the unit to sleep overnight and here's what I saw:
80% @ 12:27am
48% @ 9:18am
So it dropped 32% in almost 9 hours or around 3.5%/hour. Note that it still didn't wake from sleep, I had to reset it. Pershoot posted that he's going to try to put more logging in his kernel to see what is going on with the failure to wake scenario.
Clayfree, I'm not sure this is an Apple vs Android thing, the Archos 101 I have here is Android and it drops battery life MUCH slower than the Gtablet. I think this is more a Gtablet issue. This is going to be an issue for Google, different hardware makes it a much more challenging proposition than what Apple has to deal (one type of hardware that they control).
Sean
Click to expand...
Click to collapse
Yes I agree it's probably not an Apple/Android issue. The only other tablet I have is the iPad so I compare them by default. I do have a Samsung Vibrant that does really well with battery life.
What I will say about Apple is that they are very conscious of battery life and how it shapes our perceptions and usage of their products. With the iPad i NEVER think about the battery and it really affects how I use it. Don't get me wrong, there's plenty I don't like about the iPad and that's why I'm here
When you guys talk about putting the G-Tab to sleep, are you just pressing the power button for a short period to turn off the screen? Is that sleep or just screen off? Because if I hold down the power button to bring up the shutdown options, there is a "Sleep" option that can be selected. Are these two the same mode, or two different things?
I'm talking about both methods, I believe they are the same thing. I've observed similar results using either method, namely that my tablet won't wake up.
I will run another test at some point using the sleep option.
One interesting thing to note is my Archos 101 has a "deep sleep" option too on the power button hold. Not sure what this means, and why this isn't an option on a Gtab.
Sean
smalis said:
When you guys talk about putting the G-Tab to sleep, are you just pressing the power button for a short period to turn off the screen? Is that sleep or just screen off? Because if I hold down the power button to bring up the shutdown options, there is a "Sleep" option that can be selected. Are these two the same mode, or two different things?
Click to expand...
Click to collapse
That's a good question. I just press the button. I have not tried using the sleep command.
I'm really worry about this... I use Current Widget to get the battery consumption and is SO high! much more than any of my Android phones in Airplane mode...
Any solution? I tried TnT rom and Vegan... and it's the same!
Thanks!!
As we all know android head unit is slow to boot when it is shutdown (cold boot). But is reasonably fast when it is just waking up from sleep (ignition turned off less than a set time and turned back on).
So, I was wondering if anyone tried keeping head unit from going complete shutdown and keep in sleep mode while ignition is off.
How much current draw did it have in sleep mode? Any negative effect?
It would be the best if I head measured current draw before hooking up the radio, but I did not think about that at the time. I don't want to cut the wire again if I don't have to (meaning someone else has measured already. )
I didn't measure it myself but yesterday I read a post regarding the power consumption while on, sleeping and off. It was 1.2A (~14-15W) while sleeping which is ****ing ridiculous imho but could be the explanation why there isn't an option to keep the device sleeping longer than 2 hours. Given that consumption while sleeping, your battery would be probably dead in less than 3 days of standby time.
Streetking21 said:
I didn't measure it myself but yesterday I read a post regarding the power consumption while on, sleeping and off. It was 1.2A (~14-15W) while sleeping which is ****ing ridiculous imho but could be the explanation why there isn't an option to keep the device sleeping longer than 2 hours. Given that consumption while sleeping, your battery would be probably dead in less than 3 days of standby time.
Click to expand...
Click to collapse
Wow. That is pretty high. Hardly in a sleep state.
Streetking21 said:
I didn't measure it myself but yesterday I read a post regarding the power consumption while on, sleeping and off. It was 1.2A (~14-15W) while sleeping which is ****ing ridiculous imho but could be the explanation why there isn't an option to keep the device sleeping longer than 2 hours. Given that consumption while sleeping, your battery would be probably dead in less than 3 days of standby time.
Click to expand...
Click to collapse
Surely not?
morgish said:
Surely not?
Click to expand...
Click to collapse
What?
Streetking21 said:
I didn't measure it myself but yesterday I read a post regarding the power consumption while on, sleeping and off. It was 1.2A (~14-15W) while sleeping which is ****ing ridiculous imho but could be the explanation why there isn't an option to keep the device sleeping longer than 2 hours. Given that consumption while sleeping, your battery would be probably dead in less than 3 days of standby time.
Click to expand...
Click to collapse
Attribute that to "made in china". With just a little bit more thought, they could have designed the MCU board to shut down completely while putting the CPU into deep sleep, and end up with a sleep/standby mode that consumes negligible power.
I.e., it shouldn't use any more power than a half-decent TABLET does in sleep mode with the wifi turned off. My Nexus 9 will standby for a couple of MONTHS like that, and its battery is a very small fraction of a car battery.
Streetking21 said:
What?
Click to expand...
Click to collapse
Sorry, that was pretty vague of me. 1.2amp, 15watt is crazy for sleep mode!
I did measure the power consumption in sleep mode before I installed my Joying in my car.
Result: 350-450 mA
realzoulou said:
I did measure the power consumption in sleep mode before I installed my Joying in my car.
Result: 350-450 mA
Click to expand...
Click to collapse
That sounds more reasonable, although that still a bit high for leaving car parked for few days.
Extending shutoff time to 24 hours maybe ok. Don't know how yet, but it should be possible.
realzoulou said:
I did measure the power consumption in sleep mode before I installed my Joying in my car.
Result: 350-450 mA
Click to expand...
Click to collapse
Thanks for the info.
---
I wouldn't feel comfortable with a sleep time of 24h+. Lets say its 400mA and you use your car on a daily basis. Thats 24h*400mA = 9.6Ah. I am not an expert when it comes to car batteries but I read somewhere that if the battery capacity drops lower than 50 or 60% the starter has a hard time, especially with the colder temperatures ahead (at least here). And you have to consider that the older the battery the less capacity. I wouldn't test it out myself but I would be very interested in someone doing it nonetheless
realzoulou said:
I did measure the power consumption in sleep mode before I installed my Joying in my car.
Result: 350-450 mA
Click to expand...
Click to collapse
500mA is a little high to left in that state for a long period of time. 500mA is the current that drain one car lamp of 5W, like the ones on the rear, the tiny ones on the front, or the ones used in the passenger compartment. With a good battery there should be no problem for letting it in that state for a day or so, but for an old battery this could dry your battery in a few hours.
However, i agree with the fact that the time for going to shutdown should be user selectable.
i was thinking of the same thing, now i am completely ignorant of the electornics side of it, but isnt this something the devs here can take on to fix from the software side of things, i.e keeping only the CPU in deepsleep and shutting everything else down?
It's necessary to keep in mind that these HUs are not like tablets. These HUs has more electronic inside of them: MCU, sound ampliffier and, surely, some more electronics. All of them drain current, and not all of them are capable of getting in a low power mode like CPUs do.
---------- Post added at 12:49 PM ---------- Previous post was at 11:50 AM ----------
Hi! I think I've found the solution!
In my HU, Erisin 3015V, I go to settings and just below "GPS" option, there is another option that says "Extension configuration" (Or something like this, just because my unit is in what chinese people think is spanish...) and into this option there are three ones, the first of them says something like "Delay when acc is shutdown", and this option has several values. The first time was selected 30seconds, and the HU Always made a cold boot. Then I adjusted it to the max, 2 hours, and now the unit has warm booted after more than 1 hour of beeing slept.
Try you and update, please... I think that 2 hours is enough for most situations.
in which way is this a solution?
2 hours is the current maximum for all headunits I know and it is not a secret or hidden option, but this thread is about keeping the unit in sleep mode for a longer period of time than the 2 hours. (no offense)
Oh! Ok. Sorry. I was mistaken
prolly not much of a problem for me in. 08 duramax with dual deep cycle batteries.
on another thought, you people with standard cars with standard starting batteries... you COULD install a second battery. a deep cycle battery. run HU off it. isolate it from charging system while vehicle is off. automatically reconnect to charging system with a relay of some sort when vehicle is on. this way you NEVER stand the chance to drain your starting battery. and as its a deep cycle, draining it down empty doesnt damage it unlike starting batteries. i wouldnt even worry about it anyway because it would prolly take like 12 months to drain a decent deep cycle down. lol
hurtgen said:
i wouldnt even worry about it anyway because it would prolly take like 12 months to drain a decent deep cycle down. lol
Click to expand...
Click to collapse
whats the math behind this calculation?
12 months = 365 days = 8,760 hours
8,760h x 0.4A (consumption of the head unit while in sleep mode) = 3,504 Ah
Show me that car battery and I will give you a cookie
Thought of the second battery myself. In general, I think thats a viable option but there are some downsides as well. The generator has to be very powerful to load two batteries at once or you even have to add additional relays to prioritize the main/starter battery. Of course that problem depends on wether your primary trip range is short or long. This should work if you are driving on a daily basis or at least every second day for 30-40 minutes I guess.
Lets say you install a deep cycle battery with 80Ah and it is fully charged, the theoretical standby time is a bit more than a week (ofc that could be enough for some people):
80Ah / 0.4A = 200h = 8.3 days (just the theory)
As I dont know much about deep cycle batteries I will cite from wikipedia:
A deep-cycle battery is designed to discharge between 45% and 75% of its capacity, depending on the manufacturer and the construction of the battery. Although these batteries can be cycled down to 20% charge, the best lifespan vs cost method is to keep the average cycle at about 45% discharge
Click to expand...
Click to collapse
Long story short, you wont get 8.3 days from a 80Ah deep cycle battery. If you are fine with the reduced life span, its around 160 hours (6.6 days) and if you follow the manufacturers recommendation you will probably get around 4-5 days.
I am not trying to work against you here, but I dont know if thats really worth the trouble (costs & installation). Thank you for your input anyway.
Hmm. My truck runs dual AC Delco 48PG's. It appears each are 70 amp hour.
Here's a couple other options that come to mind.
1. Most viable and affordable in my opinion. Wire up an easy attach Battery Tender. I have this set up on my motorcycle. When I roll in to the garage after a ride, I mismount, attach battery tender, and my small motorcycle battery receives a small trickle charge until next time I ride. Also, do Not use the cheap battery chargers. Spend the extra 10 bucks and get a smart charger. This thing works awesome! I pull all my batteries from vehicles not used during winter and bring them in to the house and have BT on them. If your unfamiliar with these, definitely check it out.
2. Perhaps some sort of small and efficient solar panel that can not only keep up with HU discharge, but enough to also overcome parasitic waste from all other systems as well? Not sure if this is viable. I don't know anything about solar panels. Just throwing it out there
The only issue I have with the battery tender option is... what happens when the user forgets to unplug it before driving off? Other than that it's not a bad idea. There definitely needs to be some thought put into low power modes. I used to hotwire my HU's so that I didn't have to listen to the key-minder on my older vehicles. Difference is that those non-advanced HU's had a real "off" mode even with the ACC wire hot all the time.
The solar panel option would work well for those that park outside and have decent sunlight during the day.
Hi Sorry for my english.
I have a problem.
My head unit often doesn't shutdown after suspend mode.
Maybe 50â„… times works correctly.
Another 50â„… i switch off engine, radio goes in suspend mode ( Black screen and not respond pressing button) but if i switch on engine after the suspend time ( i set 30second but it is so also 20 minutes) the head unit is already on homescreen without reload the s.o.
Inviato dal mio MI 5s Plus utilizzando Tapatalk
Hi there,
I have never paid much attention to the deep sleep time of the phone while charging, untill I recently used the ACC Magisk module to make the phone stop charging when battery level reachs 75% and resume when 60%.
I started noticing that my phone keep awake without going into deep sleep while power plugged even without actually charging.
Is this normal? Would you like to use ACC to expand battery lifetime?
I appreciate your attention and comments.
Stay safe
Sometimes I leave my phone not charging overnight because I know it'll be fully charged in like 30mins and I don't want to damage the battery. I would turn it off but for some reason my alarms don't work even when "Shutdown Alarm" is turned on.
So I leave my phone sleeping at 75% and I sleep for like 8 hours. I wake up and it's 45%. And when I look at my battery usage, it's mostly "Cell Standby". Does anyone know how I can fix this? thanks
Pearoo said:
Sometimes I leave my phone not charging overnight because I know it'll be fully charged in like 30mins and I don't want to damage the battery. I would turn it off but for some reason my alarms don't work even when "Shutdown Alarm" is turned on.
So I leave my phone sleeping at 75% and I sleep for like 8 hours. I wake up and it's 45%. And when I look at my battery usage, it's mostly "Cell Standby". Does anyone know how I can fix this? thanks
Click to expand...
Click to collapse
It's good that >you found< the cause of the battery drain.
Prolonged use of fast charging degrades the battery.
Take A bugreport.
Use BatteryHistorian to Analyse what exactly uses "cell standby".
There could be thousands of different wakelocks.
If you have no Clue.. factory reset is Always a good recommemdation.
Is anyone experiencing a battery drain even though your S22 Ultra is switched off? I'm experiencing 4% drain every hour. 32% when every night when I sleep with my phone turned off.
I turn on power saving and extra dim using the bixby routine for the period that I'm in bed sleeping. It loses 1-2% ph
If you don't mind, can you try turning off your phone for the night and see how much battery percentage it loses? Mine went from 32% to flat 0% by morning. I had not realised this until recently. I tested in the morning by turning off my phone for an hour, it went from 60 to 54%. That's like 6% in an hour. But if I keep it on standby , it'll be 1% down in an hour. It's the turning off that is causing problems.
I know some laptops will drain battery power after shut down, but phone?
Exy or Snap?
Try checking in details with a battery monitoring app (e.g. GSam) to see what is/ are the culprit(s).
Also take a look at here for some useful tips.
It's strange that a lot of battery drain when phone is completly off.
In my opinion it's short circuit or battery is fault.
If phone is normal on are you see too battery drain?
When phone is switched off battery shouldn' experience any drain, or at least any noticeable drain in a short period.
Remember, when you bought your phone it came with battery half charged, and that was probably months after it was assembled and sealed in its package..
You should take your phone to a service or replace it, if possible
maybe somewhere on the PCB there is a short circuit. I ran into the same problem when using Xiaomi Mix 3 11 months ago.