• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help USB Kernel wakelock

I have a Motorola Electrify. For the first 18 months battery life was around 30-36 hours before I had to charge. About four months ago battery life decreased to about 12 hours. First thought was the battery had simply reached its end of life. However, I have since bought NUMEROUS replacement batteries with no improvement.

This week I purchased yet another battery from RadioShack and "woo hoo" everything was great as I got 36 hours of life on that first run. But the first time I re-charged it I'm back to the same old battery life of around 12-15 hours. I've analyzed it through the built-in Battery Usage stats and also using Better Battery Stats.

It appears that "Android OS" is draining the battery life and more specifically BetterBatteryStats indicates I have a kernel wakelock that it describes only as "usb" as being the culprit.

Given it says "usb" I'm wondering if it is a problem with my charger(s) or if something else is going on that is keeping the Android OS "running".

The funny thing is that the new battery (which I initially charged outside the phone on a charger) gave me 36 hours like I used to get and the "Android OS" usage was only about 3%. But once I recharged the battery (in the phone) I'm back to the same old battery drain problem. So this makes me think it's NOT a battery problem but something within the phone or OS is keeping something "turned on" which is draining the battery.

Any thoughts on what "usb" kernel wakelock is and how to solve it? Thanks in advance.
 
I just wanted to come back and let any poor souls out there know that I actually solved this problem. I actually did two things one night and lo and behold the problem disappeared. I'm not sure which of the two things worked though I highly suspect it was #2 below. But maybe you can do both and have the same success.

First thing I did was "clear my cache partition". Each phone has a slightly different process of doing it so just Google "clear cache partition for [name of your phone]" and you'll find instructions. One thing I will mention, I didn't just clear it once but I actually cleared it back to back to back to back....four times in a row. That way you insure you get rid of all the "junk".

The second thing I did (and do) is probably the real solution to this problem. Using Better Battery Stats I had noticed that the wakelock didn't show up until two or three minutes after unhooking my phone from the charger. Just on a hunch I started the following process and the usb kernel wakelock has not shown up a single time since I started doing the following.

Charge your phone as you normally do. Then, before unplugging the charger from your phone, turn your screen on so the phone will be awake, pull the charger from the phone and IMMEDIATELY power your phone off after unhooking the charger. Leave the phone off for about five minutes then turn it on as normal.

For whatever reason, turning the phone off apparently "disconnects" the process that keeps looking for the usb connection and thus the wakelock disappears (or never appears).

Took me over two months to figure it out but that solved the problem for me. I'm now getting about two full days of battery life on each charge. Happy....because I really like this phone and hated the thought of having to go to one of the larger phones.
 
Last edited:
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones