EDIT 23 FEB 2012 :
=== THIS THREAD IS OBSOLETE.. THERE IS A LOT OF DEVELOPMENT FROM ATRIX-DEV-TEAM AND FAUX SINCE I LAST POST, AND WHOEVER FOUND THE SAME PROBLEM BETTER TRY THE NEWER KERNEL.. ===
Old Post :
=== THIS THREAD IS OBSOLETE.. THERE IS A LOT OF DEVELOPMENT FROM ATRIX-DEV-TEAM AND FAUX SINCE I LAST POST, AND WHOEVER FOUND THE SAME PROBLEM BETTER TRY THE NEWER KERNEL.. ===
Old Post :
This is CM7 stock kernel extracted from CM7weekly29jan. Credit goes to Atrix-dev-team.
I found out that this is the only kernel in Gingerbread for atrix doesn't have Partial Wakelock by AlarmManager. I know that stock froyo doesn't have wakelock too.
Half day using this kernel, AlarmManager only wake for less than 30sec, and take less than 1% of the whole partial lock, compared to before, it could take up to few hours and 90%+.
I create this thread so that CM based ROM (CM7,Miui,Neutrino) user can test this kernel, if this non-wakelock really improve battery or not, or its just show different kind of log and had no effect on battery.
I only got hold atrix for a few day, a friend ask me to unlock the bootloader, and I have returned it.
If this really improve battery, I hope this can brought attention to developer on how to fix partial wakelock by Alarmmanager on stock kernel. If this thread is no good, feel free to delete it.
This CWM replace boot.img and /system/lib/modules/dhd.ko from CM7weekly.
I used CWM script from faux's, and replace those 2 files.
It is recommended to backup your rom before installing this.
Edit 05feb2012:
I'm sorry, I shouldn't have started a thread of a device I don't hold anymore. Today faux have released his new kernel, it might already solve the problem as and I couldn't test it. But for clearer view on why I started this thread, what I mean is that I saw BetterBatteryStats shows this. This is screenshot from other device as example.
On my defy, the percentage never goes above 1%. But on atrix, it could go above 20%, I even seen it on 90%+. Using CM7weekly29jan kernel, it always stay below 1%. And about the time AlarmManager is on, maybe I was wrong, it was not below 30s, maybe 1minute+, but before, it could go hours. Problem is I only tested for around 6hour. I just install the kernel, no wipe or clear cache. On that short test, I left the phone idle with screen off. I check on Battery Monitor Widget, it seems that each 1% of the battery can last slightly longer than before.
I hope this can make things clear.
Note: For quick test, you should see the partial wakelock 'since unplugged', not 'since charged', because reboot will reset the timer in 'since unplugged', but the 'since charged' will not reset unless you plugged the usb port for charging.
More info : device is Atrix International, last fullsbf is 2.3.4.45.0.20SEA.
Attachments
-
2.8 MB Views: 148
Last edited:
