BEWARE of USB OTG battery drain! - Moto G Q&A, Help & Troubleshooting

Just noticed that when using USB OTG, a kernel wakelock called msm_otg is being held, preventing the device from going to deep sleep.
What that means in layman's words? While you're using the phone (like maybe playing music off your USB), everything is OK, but then you turn the screen off and go away not noticing that the device is actually NOT asleep and your battery is drained. This is a kernel feature and we have to live with that till somebody is able to change the behavior in future custom kernels...
Till then, don't forget to remove your USB when you're not using the phone.

Well the battery drain is rather...Obvious. You must continuously feed the otg otherwise the attachment will not function, if device enters deep sleep it cannot sustain the connected device.
Sent with Virtue

I have noticed battery drain when it's plugged in as well. With my old LG I just plugged it into my USB hub to let it charge over night with my PC switched off.
My LG charged just fine that way but the Moto G loses 20 to 30% over night that way and does not charge compared to 5 to 10% when it's not plugged in.

Ace42 said:
Well the battery drain is rather...Obvious. You must continuously feed the otg otherwise the attachment will not function, if device enters deep sleep it cannot sustain the connected device.
Sent with Virtue
Click to expand...
Click to collapse
Well I agree this is obvious, that's why I wasn' t presenting it as a bug. Just wanted to tell people to watch out.
Sent from my XT1032 using XDA Premium 4 mobile app

I have an OTG microSD card reader, and it kinda kills my battery lately. I had 50% before making a nandroid backup. Then 45% after reboot, then it's gone to 0% after copying 1,35 GB to the SD card.
Yesterday I had around 31% when I plugged in the OTG just for a 2 mins, then unplugged it. Reboot, and after a few mins my battery was dead 0% again.
I think its because the card reader consume somehow extremely high amount of energy. It gets so damn hot during copy! (i think 45-55°C).

Hi guys, is there anyway to counter this?
With a special Y-cable/adapter perhaps, that works with the Moto G in this way: OTG + charge phone at the same time?? If yes, where do I buy one from?
Or, if this cable/adapter is not available yet, will only using a compatible kernel be able to achieve this?

GaT7 said:
Hi guys, is there anyway to counter this?
With a special Y-cable/adapter perhaps, that works with the Moto G in this way: OTG + charge phone at the same time?? If yes, where do I buy one from?
Or, if this cable/adapter is not available yet, will only using a compatible kernel be able to achieve this?
Click to expand...
Click to collapse
The y-cable exists, and works with every phone that supports OTG and has a custom kernel that supports charge+otg at the same time(as far as i know no one developed a similar kernel for moto g, but i think that nexus 5 has timur's kernel). Anyways you should know that your phone wouldn't charge like when you use a normal charger, it will be slower, like when you connect your phone to your PC. Here's one i found on amazon: http://www.amazon.com/Micro-Cable-Player-Samsung-Galaxy/dp/B00CXAC1ZW. If you somehow make it work with your phone, PLEASE LET US KNOW HOW!

Related

Battery Life Record

Moderate Use
Doctorz V8
Stock kernel
No voltage changes or clocking aside from what comes with the RoM.
Auto screen brightness.
Main difference is Background Data is off for everything but Market.
Sent from my SGH-I997 using Tapatalk
What do you mean by background data and how do you set that?
Sent from my SGH-I997 using XDA App
Just an observation, but the graph at the top under where it says 1 day 19 hours clearly shows your battery going up 3 times. Which I was just going to pass up but I have a bunch of shots of my battery stats and none of them go up.
[IMG]http://i1111.photobucket.com/albums/h472/BadFishCM/SC20110821-130202.png[/IMG]
So if I'm not mistaken you plugged in a couple times.
I seen that as well but I honestly have no idea why. I can assure you it has not been plugged in. I even have a prior screen shot on another battery run that has the same issue.
Sent from my SGH-I997 using Tapatalk
Thats impossible, theirs no way for a phone to charge itself while discharging. Something is screwed up with your battery calibration.
Sent from my SAMSUNG-SGH-I997 using xda premium
Battery Management
Hi, all.
I want to pass this tip along to anyone who want or need to conserve their battery for what ever reasons.
I have gone usually 3 day+ on one charge.
I'm running on stock rom. Froyo 2.2.1
It is rooted though
I use the phone moderately. Text occasionally.
I downloaded an app called "DataSwitch" by TomatoX.
I use wifi when I'm at home or work.
I have dataswitch activated when I don't need constant background data. ?I turn it on when I need to use it for surfing and such.
In Settings, there is also a toggle for background on/off, although I don't use this much.
With the data off, you can still get phone call and text msg.
I usually turn off data and wifi at bedtime.
On the third day, I'm usually down to 35%.
This may also be useful if you are low and can't get to a charge right away.
It may not apply to everybody, but it works for me..esp with only a 200mb data plan. Battery life is great!
lol look at that cell standby use your phone lol
xKrisx said:
Moderate Use
Doctorz V8
Stock kernel
No voltage changes or clocking aside from what comes with the RoM.
Auto screen brightness.
Main difference is Background Data is off for everything but Market.
Sent from my SGH-I997 using Tapatalk
Click to expand...
Click to collapse
Good one. But next time on, it would be more useful if you post the screenshots showing call duration and display time. With just this one screenshot it could have display on for just 5 mins or 50 mins. Its hard to tell.
Just now noticed, the tiny green bars in the screenshot (circled in red) come up when the phone is charging.
I noticed that (at least for my phone) if you connect it to wall charging it would reset the "time on battery" count but if i connected it via usb to pc it was charging, yeah slowly maybe but the timer never reset when connected via usb as if the phone said "well im charging but it doesnt counts since the guy its transfering data"(lmao yeah my phone is smart) so if you wait for 10% battery ans then go usb mode and charge it and use it and repeat i once got displaying 4 days 10 hours on battery haha.
While on my real stats my phone never last more than 18 hours ;/
Sent from my SAMSUNG-SGH-I997 using XDA App
koriotto said:
I noticed that (at least for my phone) if you connect it to wall charging it would reset the "time on battery" count but if i connected it via usb to pc it was charging, yeah slowly maybe but the timer never reset when connected via usb as if the phone said "well im charging but it doesnt counts since the guy its transfering data"(lmao yeah my phone is smart) so if you wait for 10% battery ans then go usb mode and charge it and use it and repeat i once got displaying 4 days 10 hours on battery haha.
While on my real stats my phone never last more than 18 hours ;/
Sent from my SAMSUNG-SGH-I997 using XDA App
Click to expand...
Click to collapse
+ 1
I got my phone to say 2 days 15 hours once. As long as I don't charge it 100% the time on my battery continues to go up. I can plug it in while it has 10% left charge it till its 90% unplug it, and the time won't reset.
If anyone mistook my comment, I'm not really interested in claiming any specific record as the op as stated.
I simply meant to share my thoughts on "dataswitch" app and how I had applied it.
I think found it useful to limit data usage and to conserve the battery when I can't get a charge right away.
You'll be surprise how much battery life background data consumes.
The other part tech part of me also recognizes that battery memory exist...it may be best to "widen" your charge range (0% to 100%) when possible.
Well, I figured out what caused that.. My radio in my truck has a USB port that I plug my phone into to listen to my music. Worked great on my Ipod but it wouldn't charge my Ipod. However today when coming home, I plugged my phone in and it doesnt show to be charging, but when I looked at the Battery Use chart, it deffinately showed an increase.
And here I was thinking I was getting impecable battery life lol.
Oh well.. Sorry for the fuss. However, I will keep trying
xKrisx said:
Well, I figured out what caused that.. My radio in my truck has a USB port that I plug my phone into to listen to my music. Worked great on my Ipod but it wouldn't charge my Ipod. However today when coming home, I plugged my phone in and it doesnt show to be charging, but when I looked at the Battery Use chart, it deffinately showed an increase.
And here I was thinking I was getting impecable battery life lol.
Oh well.. Sorry for the fuss. However, I will keep trying
Click to expand...
Click to collapse
There you go. Mystery solved. Case closed.
more like....busted?
alc630 said:
more like....busted?
Click to expand...
Click to collapse
Can't use a hard word. Looks like he is still new and didn't realize his phone was charging. Well, he didn't realize that the green line in pic meant charging. So he gets benefit of doubt.
stock Froyo...
one charge...for real
lol..light use.
qkster said:
stock Froyo...
one charge...for real
lol..light use.
Click to expand...
Click to collapse
Good one. Capture the display time and call time too please next time on.
qkster said:
stock Froyo...
one charge...for real
lol..light use.
Click to expand...
Click to collapse
And I'm a kung fu panda.
diablo009 said:
Good one. Capture the display time and call time too please next time on.
Click to expand...
Click to collapse
How do I do that?
I tried going into settings, about phone, and battery use. That was the img I got.
I'm not sure how to bring up the charge graph, display time and call time as well...
On stock froyo 2.2.1. Baseband I997UCKH1. Kernel 2.6.32.9
I can try it again in a few days if you can tell me how
I'm also using screenshot from the Market.
I'm new at this so tell me step by step pls.
thnks
qkster said:
How do I do that?
I tried going into settings, about phone, and battery use. That was the img I got.
I'm not sure how to bring up the charge graph, display time and call time as well...
On stock froyo 2.2.1. Baseband I997UCKH1. Kernel 2.6.32.9
I can try it again in a few days if you can tell me how
I'm also using screenshot from the Market.
I'm new at this so tell me step by step pls.
thnks
Click to expand...
Click to collapse
Click on individual elements listed to show more details about them.

What is Offline Charging???

What is offline Charging? I have seen that some ROMs do not support offline charging. If it means that you can not charge your phone when it is switched off,
then how would one charge his phone if its battery is completely drained?
pravin_pran said:
What is offline Charging? I have seen that some ROMs do not support offline charging. If it means that you can not charge your phone when it is switched off,
then how would one charge his phone if its battery is completely drained?
Click to expand...
Click to collapse
Offline charging means that you are able to charge your phone even if it is switched off. Without offline charging enabled, when your phone is off and you charge it, it will turn on again. For example, in the stock rom, when your phone is off and you charge it, you will only see the battery meter and the phone did not turn on
Sent from my LG-P500 using xda premium
Sory i didnt get your answer. If offline charging is not enabled means i cannt charge mobile while its switched off. What to do if my battery is completely drained???
Sent from my LG-P500 using XDA
pravin_pran said:
Sory i didnt get your answer. If offline charging is not enabled means i cannt charge mobile while its switched off. What to do if my battery is completely drained???
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
No offline charging = Can charge your phone, but phone will be turned on (can receive calls and messages etc)
Offline charging enabled= Can charge your phone, when it is off and cannot receive calls messages)
Either way, you will still be able to charge your battery
Sent from my LG-P500 using xda premium
Isn't it that the phone charges automatically when the phone is switched off??
I really have no idea, itz just my experience I'm telling.correct me if I'm wrong
Sent from my LG-P500 using XDA
IKnowIRock! said:
Isn't it that the phone charges automatically when the phone is switched off??
I really have no idea, itz just my experience I'm telling.correct me if I'm wrong
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
Yes, but with offline charging, it will cause the phone to boot up again
Sent from my LG-P500 using xda premium
So let me see if I understood correctly. If there is no offline charging when I plug in the phone it will boot up? If I have offline charging then it will remain off and show the battery meter(or nothing at all)?
zolistir said:
So let me see if I understood correctly. If there is no offline charging when I plug in the phone it will boot up? If I have offline charging then it will remain off and show the battery meter(or nothing at all)?
Click to expand...
Click to collapse
Yes! You're right
Sent from my LG-P500 using xda premium
So you confirm I can always charge my battery even if the phone switched off because it was completely drained?
This is the only thing I'm warried and which is keeping me from flashing a new ICS ROM.
It's not a problem if it boots up again. I can always put it in airplane mode when charging during the night... Right?
pravin_pran said:
What is offline Charging? I have seen that some ROMs do not support offline charging. If it means that you can not charge your phone when it is switched off,
then how would one charge his phone if its battery is completely drained?
Click to expand...
Click to collapse
U see when u plug in ur phone to the charger when its battery is zero ur phone will sqitch on with the electricity of charger not battery
Once i tried and then perfectly used my phone with my battery out. !!
So u can understand now!!
First time i had also the same reaction but when this happened with me i got to no what i m telling u
---------- Post added at 04:17 PM ---------- Previous post was at 04:14 PM ----------
Joel Chan said:
Yes! You're right
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Noooo you are wrong ,it does switch on and charges from 0%
i am not lying this has happened to me many times when i come back from school and phone is discharged. i am just sharing my experience
OK so basically all I got from the posts is that you can charge it afterwards no matter what. And I think that is the main issue everyone is worrying about.
You're absolutely right
Sent from my LG-P500 using xda premium
I got it what means offline charging, but..
I had never found the option how to enable or disable offline charging
So, what do to if i need to enable or disable it...?
sushant_1727 said:
I had never found the option how to enable or disable offline charging
So, what do to if i need to enable or disable it...?
Click to expand...
Click to collapse
It cannot be enabled or disabled by user... it'll be enabled by default if the rom supports it, else it'll not...
Sent from my LG-P500 using Tapatalk 2
Even I came here searching google what is offline charging..
geeneeyes said:
Even I came here searching google what is offline charging..
Click to expand...
Click to collapse
XDA is awesome, isn't it?
Sent from my LG-P500 using xda premium
1
What is the kernel support?
Amoh77 said:
What is the kernel support?
Click to expand...
Click to collapse
A kernel connects the application software to the hardware of a computer and is the main component of most computer operating systems. Check wikipedia if you want to learn more about it.
Kernel support now, is whether your kernel supports a feature or not.
For example if you download an app for overclocking you are gonna oc my ass if you don't have a custom kernel which is written to support overclocking.
pravin_pran said:
What is offline Charging? I have seen that some ROMs do not support offline charging. If it means that you can not charge your phone when it is switched off,
then how would one charge his phone if its battery is completely drained?
Click to expand...
Click to collapse
Offline charging is being able to charge the phone when it is powered off. The stock rom on many phones has this feature so if you totally discharge the battery you can plug it in and charge it up. If you have an aftermarket rom that does not happen when you totally discharge the battery you end up in a boot loop. The phone starts up when you plug it in and it attempts to start. It wont fully boot because it runs out of juice then it attempts to start up again and it keeps going in this loop.
With aftermarket rom's there seems to be problems getting a offline charging mode in them to work properly. I know nothing about coding or building roms in general so i cant say what the problem is or why its there.
So with aftermarket roms you have 2 choices really if you drain the battery totally. Take the battery out and put it in some other charger. Plug it in to a charger and hold down the correct keys to enter recovery (lg optimus one home + vol down + power ) and let it sit in that mode for a minute or 2 then reboot the phone.
Would be nice if the aftermarket phones supported offline charging but there are plenty of ways to prevent this problem and even ways out of it without going too crazy so its not much of an issue anyway.
TdiGuy said:
Offline charging is being able to charge the phone when it is powered off. The stock rom on many phones has this feature so if you totally discharge the battery you can plug it in and charge it up. If you have an aftermarket rom that does not happen when you totally discharge the battery you end up in a boot loop. The phone starts up when you plug it in and it attempts to start. It wont fully boot because it runs out of juice then it attempts to start up again and it keeps going in this loop.
With aftermarket rom's there seems to be problems getting a offline charging mode in them to work properly. I know nothing about coding or building roms in general so i cant say what the problem is or why its there.
So with aftermarket roms you have 2 choices really if you drain the battery totally. Take the battery out and put it in some other charger. Plug it in to a charger and hold down the correct keys to enter recovery (lg optimus one home + vol down + power ) and let it sit in that mode for a minute or 2 then reboot the phone.
Would be nice if the aftermarket phones supported offline charging but there are plenty of ways to prevent this problem and even ways out of it without going too crazy so its not much of an issue anyway.
Click to expand...
Click to collapse
I have no idea about this. You make me understand what is about offline charging. Thanks

[HOW TO] Fix Your Skyrocket's Battery Life

I’m going to try to consolidate a lot of battery information in this thread and prioritize it. This is a WIP.
1) Check your charger first!!!
2) Fix wakelocks
3) Remove bloatware
4) Replace your battery
5) Try a new ROM
The Charger Problem
Using certain chargers causes a wakelock on your phone that prevents it from going into deep sleep. This results in roughly 10% battery attrition, regardless of activity or screen on time. Before you try anything else, you should test each of your chargers and make sure they aren’t causing a wakelock.
Do you have this problem?
Install CPU Spy from the Play Store. Open the app to see how much time your phone spends in each CPU state. If Deep Sleep is a very small percentage, or Deep Sleep doesn’t even appear, you have a problem with your charger. Follow one of the methods below to test each of your chargers.
Charger Test App
I've created an app with the sole function of reporting your charge type and current. See the thread below to download and install the app.
UPDATE: This app is now available on the Play Store for easier installation: https://play.google.com/store/apps/details?id=com.jellisapps.srchargertest
http://forum.xda-developers.com/showthread.php?p=29451951#post29451951
Testing with only CPU Spy:
1) Plug your phone into the charger and turn the screen off. Leave it charging for about 30 seconds. (Don't do this with a fully charged phone, as I don't know how that affects the testing)
2) With the screen still off, unplug the phone from the charger.
3) Open CPU Spy, hit the menu button, and "Reset Timers". Turn the screen off.
4) Let the phone sit idle for a few minutes with the screen off.
5) Turn the phone back on and refresh the timers in CPU Spy (menu button again).
If Deep Sleep doesn’t appear in the list of CPU states, your phone is experiencing a wakelock brought on by the charger. It’s probably spent the majority of time at 192mhz or 384mhz.
To further confirm this, leave your phone unplugged, restart it, leave the screen off for a few minutes, and then check CPU spy again. You should now see it going into Deep Sleep.
It’s rumored that some USB cables can also cause this problem, even if used with a good charger. I have not experienced this with the cables I’ve used.
Testing with Terminal Emulator:
This method will not show the wakelock, but it will show you what charging mode the phone is in. Because I’ve identified the problematic charging mode that creates the wakelock, this method can be used to test your chargers fairly quickly. (Thanks to pj_rage)
If you have Tasker, you can download and import my Tasker profile that will check the charger when it’s connected and toast you with the charger type. It will also pop a notification if the charger will create a wakelock. Profile: https://www.dropbox.com/s/jewrvalkc7agtoz/Charger_Type.prf.xml (hat tip to Note-owner G8351427 for the Tasker idea)
1) Plug your phone into the charger you want to test.
2) Use your favorite terminal emulator (ROM Toolbox has one) to run:
cat /sys/class/power_supply/battery/charging_source​
3) Look for your results:
0= No charger connected.
1= USB Normal Charge. There is 5VDC on pins 1&4 and data current is detected on 2&3
2= AC Fast Charge. AC Fast Charge. There is 5VDC on pins 1&4, and pins 2&3 are BRIDGED.
6= AC Regular Charge. This is the charge state that creates the wakelock. There is 5VDC on pins 1&4, and pins 2&3 are OPEN/DISCONNECTED.​
Thanks to SR-owner nighthawkmckenzie for additional information on charging states.
Known Workarounds:
If you can't use a proper charger, there are two known workarounds.
1) Restart your phone after charging. This is what I did for a while, until I found one of my chargers that works with the phone.
2) Plug your phone into a "Type 2" charger. If your phone is plugged into a Type 6 charger, it creates the wakelock upon disconnection. But if you plug in a Type 2, even briefly, it clears the wakelock. For example, I would charge my phone overnight on a Type 6 charger (leaving a wakelock), and then just plug it into my car charger (Type 2) for a few seconds on the way to work to eliminate the wakelock.
3) Mod your charger to bridge pins 2&3. Instructions can be found here.
4) Buy one of these adapters. I have not tested this, but Note users say that it increases the charger current for chargers without pins 2&3 bridged. Theoretically, that means it should be recognized as 2 instead of 6. Someone let me know if you try it and verify effectiveness.
5) Turn on your screen before unplugging the phone. Some users report that this works. I've been unable to get it to work for me. Try it with your charger using my testing steps above if you'd like. (This workaround is courtesy of Note-owner ultravorx)
Why This Happens:
Thanks to pj_rage's research and nighthawkmckenzie's help putting the pieces together. As stated above, the Skyrocket and the Note detect if pins 2&3 are bridged or not. It seems that, for chargers to be Apple certified, they must not bridge pins 2&3. These chargers don't cause a big problem for most phones, but they do for ours. It lowers the mA current and causes a wakelock that persists after the charger is unplugged. The wakelock I usually notice is sdio_al, which seems like it's related to I/O on the SD card. Perhaps detecting a cable connected without pins 2&3 bridged, the phone is preparing for data, then fails to terminate the wakelock.
Here is a really good thread by pj_rage with information on chargers and the Note
My phone takes FOREVER to charge!
Not all chargers are created equal. Some of them enable quick charging, while some of them do not. Plug your charger in, open your Terminal Emulator, and run this command:
cat /sys/class/power_supply/battery/batt_current_adc​
Divide the result by 10 to determine the mA rate of your charger. If the result (after dividing) is close to 1000, quick charging is enabled. If the result is close to 5000, quick charging does not work with your charger.
Wakelocks That Destroy Your Battery Life
If you're not familiar with wakelocks, they're basically processes that run on your phone that prevent it from going into deep sleep. Deep sleep is the mode your phone should go into when you're not using it so that it can conserve battery. Some wakelocks are intentional, while others can be the result of rogue apps or system processes.
For an excellent and thorough guide to Wakelocks and the Skyrocket, check out this thread started by T.J. Bender.
To effectively find your wakelocks, you'll need BetterBatteryStats. It's free to us XDA users. You can get it in this thread. Read that OP for more information about wakelocks.
AudioOut_1 - Hat tip to T.J. Bender's post in this thread for information on AudioOut_1.
Settings -> Sound
Turn keytone, touch sounds, screen lock sound and vibrate on screen tap off.​
sdio_al - This is the wakelock created by your charger, detailed above in this OP.
Clean Out the Bloat
Some of the bloatware and unnecessary apps on our phones can drain battery. Here is a good thread by Earthdog that is stickied in the Themes and Apps forum that tells you what apps are safe to freeze or uninstall. I really recommend you freeze the apps in Titanium Backup and run for a few days before you uninstall. This way you won’t accidentally uninstall something your phone needs to remain stable.
We’re Gonna Need a Bigger Battery
Many Skyrocket owners (myself included) have discovered that the Verizon Galaxy Nexus extended battery works pretty well in the Skyrocket. The Skyrocket’s battery is 1850mAh, while the Nexus extended battery is 2100mAh.
Here’s the thread discussing the battery.
It costs less than $25 at a Verizon store and will add over 10% to your battery capacity. The battery is also made by Samsung and has built in NFC, just like our stock battery.
Some people report filing down the battery so that it will fit in their Skyrocket. I followed the advice of user stevenlong and took the sticker off of the outside of my extended battery. Picture of his battery is here. After this modification, it fits almost perfect. The slight bulge is not noticeable unless you’re looking for it (that’s what she said).
The Stock ROM Sucks
If you’re still unrooted and on stock Gingerbread, I feel sorry for you. What the heck are you doing on this forum if you’re scared to flash a new ROM?
This guide would be way too long if I tried to explain the battery improvements you might see by stepping up to the Stock ICS leak. You’ll probably see even more improvement if you flash one of the many custom ROMs in the Development section.
If you’re dedicated to getting the most out of your phone, spend a weekend reading the ever-loving sh*t out of the stickies in the Development forum. Only after you have read those threads and feel like you have a good understanding, backup your phone and flash a new ROM on it. As long as you’ve backed up properly, you can flash between several ROMs and choose the one that works best for you.
If you have any questions about the ROM you’re trying to flash, ask in the Q&A forum. Don’t start out by asking in the ROM’s threads, unless you’re POSITIVE that the question has not already been answered in the thread or the stickies. You did search first, right?
I can only speak to my own experience, but SKY ICS by seanzscreams has been AMAZING for battery life. I’ve really wanted to try some of the other ROMs, because they look good as well, but SKY ICS has been so good that it’s hard to think of using anything else. Try them all and see which one you like the best. Don't forget to donate a few bucks through the donate button for your favorite ROM's developer!
Good reference guide from entropy
http://forum.xda-developers.com/showthread.php?t=1308030
[REF] Known identified battery drainers
Sent from my SGH-I727 using Tapatalk 2
jivy26 said:
Good reference guide from entropy
http://forum.xda-developers.com/showthread.php?t=1308030
[REF] Known identified battery drainers
Sent from my SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
That guide seems to cover Wifi and BT drain issues with the GS2. I'm not sure how similar our Wifi and BT is to theirs. Our phone hardware is closer to the T-Mobile GS2 hardware than the AT&T.
In my experience, our phone and the AT&T Note have the charger issue. I just tested my wife's AT&T GS2 and it does not have the problem. My problem charger that gives me a wakelock (and is reported as type 6) does not give her a wakelock and is reported as charger type 2.
I'm editing the OP as I discover more and more information and perform various tests today.
I think I've discovered that the wakelock is ALWAYS caused by using an iPhone certified charger (or one that the Skyrocket thinks is iPhone certified). To be certified for iPhone, the charger must include a special circuit that identifies it as such.
I also created a Tasker profile to easily test your charger. The profile reports your charger type when you plug it in and creates a notification if your charger will cause a wakelock.
I would really appreciate if some people can test these theories out. In my experience, chargers that are reported as type 6 ALWAYS create the wakelock. Any reported as 1 or 2 do not.
ALSO: I've always used Stock and Sky ICS. Can someone on an AOSP-based ROM check a known iPhone charger to see if it reports type 2 or 6? This can help us determine if this problem only exists in the Samsung-based ROMs.
Very good info, I checked a couple of my chargers and they were working properly. Thanx
Edit..
I just checked my car charger, bought it at [email protected] when I got my skyrocket. On the attached charging cable it reads 6 in term. Emulator, and if I plug a cable into the USB connection it reads 2.
Jrockttu said:
ALSO: I've always used Stock and Sky ICS. Can someone on an AOSP-based ROM check a known iPhone charger to see if it reports type 2 or 6? This can help us determine if this problem only exists in the Samsung-based ROMs.
Click to expand...
Click to collapse
I am running CM9 nightly 7/7 with Instigatorx kernel, and I just tested the following chargers with the same cable:
Stock Samsung Skyrocket
Stock Motorola RAZR
Stock Palm Pre
Stock 1st gen iPad
All but the iPad report as 2, the iPad reports as 6.
Also, I tried your Tasker profile but it says it can't find /mnt/emmc/chargetype.txt
Tom
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
rpr69 said:
I am running CM9 nightly 7/7 with Instigatorx kernel, and I just tested the following chargers with the same cable:
Stock Samsung Skyrocket
Stock Motorola RAZR
Stock Palm Pre
Stock 1st gen iPad
All but the iPad report as 2, the iPad reports as 6.
Also, I tried your Tasker profile but it says it can't find /mnt/emmc/chargetype.txt
Tom
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for testing.
I also flashed aokp earlier and charger behavior is the same. I wonder if this means it's a hardware problem, not software.
Chargetype.txt should be created in /mnt/sdcard/. I'll have to look as to why it works different for you. You can try changing the path for the read task in the meantime.
No worries, I just manually cat'ted the file. So far I haven't seen the charger wake lock recently on my setup, but I'm still investigating. I am seeing a lot of 'deleted_wake_locks', which may be related to my tasker profile that turns off Wifi and BT during the day.
rpr69 said:
No worries, I just manually cat'ted the file. So far I haven't seen the charger wake lock recently on my setup, but I'm still investigating. I am seeing a lot of 'deleted_wake_locks', which may be related to my tasker profile that turns off Wifi and BT during the day.
Click to expand...
Click to collapse
You're not seeing the wakelock after using your iPad charger? In my experience, plugging in to a type 6 charger immediately eliminates the wakelock, even without restarting the phone. The wakelock seems tied to the last charger you used before unplugging.
Thank you very much for this useful post. I sometimes charge my phone using my usb port on my MacBook at home (it's a work computer--I hate Macs), and I wonder if using that port is causing a wakelock issue for me. I charge it on that and then leave my phone off the charger at night, and when I wake up my battery is usually depleted by 15% minimum by morning (running CM9 nightlies currently).
I'll test it out tonight and report back (if I remember to...which I should...lol).
skrambled said:
Thank you very much for this useful post. I sometimes charge my phone using my usb port on my MacBook at home (it's a work computer--I hate Macs), and I wonder if using that port is causing a wakelock issue for me. I charge it on that and then leave my phone off the charger at night, and when I wake up my battery is usually depleted by 15% minimum by morning (running CM9 nightlies currently).
I'll test it out tonight and report back (if I remember to...which I should...lol).
Click to expand...
Click to collapse
A 15% drain over an 8 hour period of no use seems normal to me if you have accounts syncing. If you had the wakelock, it would be more like 50-80% drain over that same time.
Your MacBook should report charger type 1 (USB charging), but please let me know if it causes the wakelock (using the CPU Spy method).
I've been using an app called Juice Defender, it's a pretty nice app that will turn off your radios while your phone is in standby mode. I can set my phone on my night stand when I go to sleep and leave it for 8 hours and get anywhere between a 7-11% percent drain. There is three levels of the app (free, pro, and ultimate)
sorry I can't link it cause of the 10 post rule
Just my two cents...
NaughtyNinja74 said:
I've been using an app called Juice Defender, it's a pretty nice app that will turn off your radios while your phone is in standby mode. I can set my phone on my night stand when I go to sleep and leave it for 8 hours and get anywhere between a 7-11% percent drain. There is three levels of the app (free, pro, and ultimate)
sorry I can't link it cause of the 10 post rule
Just my two cents...
Click to expand...
Click to collapse
A lot of people use Juice Defender, but the app is very polarizing. Some people claim it's made their battery last forever, while others say it's the same or worse with JD. I used it briefly on my Nexus One and didn't notice a difference. I didn't include it because of the controversy surrounding its effectiveness.
I'll look around and see if anyone has a really good thread explaining its worth and link it in my OP.
My issues with the SR battery have been around the syncing that happens in the background. I finally got my work email down to syncing once and hour and gmail to once every 2 hours. Obviously this varies per person but I think how often the phone sync's is Androids worst enemy. With Juice Defender at least you have somewhat "universal" control over the radio's and when they connect when YOU want them to.
Whether or not you get better battery is in fact subjective to the user.
pctx said:
My issues with the SR battery have been around the syncing that happens in the background. I finally got my work email down to syncing once and hour and gmail to once every 2 hours. Obviously this varies per person but I think how often the phone sync's is Androids worst enemy. With Juice Defender at least you have somewhat "universal" control over the radio's and when they connect when YOU want them to.
Whether or not you get better battery is in fact subjective to the user.
Click to expand...
Click to collapse
As far as I understand push email, you shouldn't see much, if any, battery improvement by delaying gmail because it's pushed, not polled. Increasing polling intervals on Exchange email will help, though.
And you're right, the biggest factor in battery life is how people use their phones. The thing I hope to accomplish with this thread is to eliminate the problems that ruin battery life regardless of how someone uses their Skyrocket.
My charger was recognizing as 2 (AC fast charge) but I switched to OEM just to see and it does indeed seem to be idling much better and charging faster. Go figure.
I do suspect this is partly a software issue, but if using the OEM charger works, it works. Good thread.
Thanks for the good info! I try to monitor my usage as much as possible and once I root my phone it will be a lot more flexible, but some new stuff in here I'm gonna try out as well.
Thank you so much for putting this together. I wrote a couple of scripts in ROM Manager to test all of my chargers, and the two Griffin dual-USB car lighter chargers I have both return a 6... After reading this thread, it's not surprising because Griffin is in bed with Apple, and pins 2 and 3 must be open to receive Apple certification. My bad, but I like the Griffin products, and think they are robust and designed well. I've used them with my iPods all along...
I unplugged my Skyrocket the other day when I went to play golf, and used my Golf Logix GPS app. I had a full charge when I started, but I noticed the charge dropping rapidly as I played, even though I kept turning the screen of constantly. By the end of a full round (18 holes), my phone was down to 14%! I figured out was the golf app and uninstalled it, but afterwards, when I checked in CPU Spy, I found that my phone never slept the whole time, even with the screen off...
Turns out, out must be the charger in my car. It's currently cracked open, awaiting my soldering iron and my 1 year old girl's next nap
Thanks again!
Sent from somewhere in Galaxy SII...
Is Juice Defender worth it? With AOKP and many other custom ROMs you get toggles for data/wifi/brightness; shouldn't manually regulating their on/off state be just as efficient (if not more) than automated control? Or am I missing some features that Juice Defender carries
whosgotlag said:
Is Juice Defender worth it? With AOKP and many other custom ROMs you get toggles for data/wifi/brightness; shouldn't manually regulating their on/off state be just as efficient (if not more) than automated control? Or am I missing some features that Juice Defender carries
Click to expand...
Click to collapse
It's a simplicity thing for me. Yes, I could flash a custom ROM and configure everything manually to max my battery savings. Or, I could root the phone, freeze bloatware, and set JD up so that it handles all that for me. I'd probably have somewhat longer battery life doing it the first way (or significantly longer, depending on the ROM), but my battery life with JD is fine for my purposes, so why mess with flashing a custom ROM, the ever-present brick possibility and resetting the flash counter later when I can just root it and forget it?

Lost about a quarter of my battery life

Hello all,
I have had my 8013 about a month now...
It has gone from have over a day of charge to about 3/4 of what it had.
I haven't let it run down and top it off whenever I get back to my desk.
Did I accidently overcharge it and damage the battery or should I do some recalibration?
I see there are recalibration utilities in the store, but wanted to ask before making a situation possibly worse.
Thanks
Sent from my GT-N8013 using Tapatalk HD
I have the same question as you!
I can't tell if it is more hardcore/prolonged use over the holidays causing me to think my battery smaller... or if its actually happening...I definitely THINK i notice a difference!
Try using better battery stats and cpu spy to make sure your device is sleeping properly.
It seems to be correct and sleeping right also. Anyway to reset the battery indicator?
If you flash a rom, your battery stats don't get changed and could lead to incorrect readings. If you're rooted, charge your battery to full, boot into clockworkmod recovery, advance, and wipe battery stats, reboot, unplug and let it discharge normally until it's dead before you plug it back in. And keep a lookout for rogue apps that hog resources, of course.
Edit: Lithium ion batteries shouldn't need calibration, due to it having no memory.
Sent from my GT-N8013 using XDA Premium HD app
what charger did you use ??
Did you check what applications are running in the background ??
What rom are you on ??
Strange :
Have mine since September in maximum use everyday as notebook replacement, since 4 weeks also as central remote (Touchsquid) for my home cinema + AllShare Play source on my Sammy TV and my note is still good for 10 hrs + on 3G and 12 hrs + on WLAN (100% down to 5% each)
My wife's note is the same .........
It even seems that with 4.1.2 it even improved .........
samir_a said:
what charger did you use ??
Did you check what applications are running in the background ??
What rom are you on ??
Click to expand...
Click to collapse
Samsung charger that came with the tablet.
Nothing new in background.
Sent from my GT-N8013 using Tapatalk HD

Skyrocket Battery - Charging Tips

I am receiving a new phone battery in the mail for my i727 since my old one won't last at all.
Do you guys have any tips for me on how to charge my battery so that I keep my charge for the longest time possible without damaging or ruining the battery in any way?
markrayski9 said:
I am receiving a new phone battery in the mail for my i727 since my old one won't last at all.
Do you guys have any tips for me on how to charge my battery so that I keep my charge for the longest time possible without damaging or ruining the battery in any way?
Click to expand...
Click to collapse
Define 'won't last at all'? How much time do you get on the battery now? It rarely has anything to do with charging, unless you use some crappy charger that blasts high amperage current at it. Battery drain is almost always because of either a wakelock preventing deep sleep, or an app running in the background chewing up CPU, and thus battery. For me there were 3 culprits, 1) some chargers (specifically Apple compatible ones) cause a wakelock on 'vm_bus_present'. If you see this, reboot after charging to clear it and get a different charger. 2) Corrupt media data that causes the media scanning process to continually spin CPU. Clear data and cache for the media app. 3) Bluetooth crashes, and the you get a 'bluesleep' wakelock. Reboot until Bluetooth stops crashing, usually for me it only takes one.
CPU Spy and Better Battery Stats are your friends. See the Battery pinned topic, this is covered in much more detail there.
I'm not sure it matters about my old one.
I just need to know how to charge my new one. Everyone talks about how they charge their battery, and I want to hear how.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
markrayski9 said:
I'm not sure it matters about my old one.
I just need to know how to charge my new one. Everyone talks about how they charge their battery, and I want to hear how.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I plug in my phone at night, and I unplug it in the morning. I don't think it gets any more complicated than that.
markrayski9 said:
I'm not sure it matters about my old one.
I just need to know how to charge my new one. Everyone talks about how they charge their battery, and I want to hear how.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
You plug it in and when it says battery full you unplug the cord.
Sent from my HTC One using Tapatalk 4
Nothing mysterious about charging a phone. Seems like there were some complex charging rituals way back when but they have since been proven BS. That being said, If you normally run your phone down by mid day because you play with it all morning no fancy charging ritual is going to help you.

Categories

Resources