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

Root [Boost Mobile] PowerNap script family

mercury0x000d

The ultra-modern operator
Nov 24, 2011
1,639
1,213
Penn's Woods
www.mercurycoding.com
Power_Nap.png


PowerNap is a script specifically designed for the ZTE Warp which can significantly increase battery life. It made its debut in the Warp OEM ROM and accomplishes its magic by automatically disabling the data connection and restricting the CPU speed to an upper limit of 244MHz when the phone's screen shuts off. When you resume using your Warp, the script then restores your previous CPU speeds and re-enables the data connection. As only the 3G band of your radio is powered down, you can still receive calls and texts while PowerNap is active.

You need to be running a custom kernel which supports asynchronous scripting (e.g. init.d2) to use PowerNap. Installation is easy, just download the script, place it inside your init.d2 folder using your favorite root-enabled file browser, and reboot.



Downloads:

PowerNap
The original battery saver script. You may notice some lag upon wake with this version.

PowerNap v2
Version 2 eliminated the lag which some users noticed with the original and also removed a condition which could cause problems with restoring the previous CPU speed.

PowerNap v3
The latest in the PowerNap family, this version also governs the 3G connection to push more life out of the battery.

Bug reports are welcome (especially with v3 since it has not yet been tested outside of my phone :eek:) and as always... enjoy!
 
Works as you said, Im running Warp OEM right now, Deffinatly a Faster charge when plugged in, Seems to get better battery life like you said. For those who dont know how or where to drop the text file, Just navigae to System/etc/initd2

Drop the new file in there and delete the powernap2, set permissions, reboot, enjoy.
Thanks again Merc!!
 
  • Like
Reactions: mercury0x000d
Upvote 0
Works as you said, Im running Warp OEM right now, Deffinatly a Faster charge when plugged in, Seems to get better battery life like you said. For those who dont know how or where to drop the text file, Just navigae to System/etc/initd2

Drop the new file in there and delete the powernap2, set permissions, reboot, enjoy.
Thanks again Merc!!

Thanks, Bit! :)

Have you noticed any lag or slowdowns over the previous PowerNap?
 
  • Like
Reactions: LilBit
Upvote 0
I love this script however only one problem for me. When using it I notice when I listen to Spotify and having my screen off it extremely lags the music, is there a way to prevent the script from making Spotify really laggy or am I out of luck? Thanks :)


Which version are you using? I would suggest V2 but this script is meant to conserve battery while your phone is sleeping... Not while running processor intensive tasks like streaming.
 
  • Like
Reactions: mercury0x000d
Upvote 0
I love this script however only one problem for me. When using it I notice when I listen to Spotify and having my screen off it extremely lags the music, is there a way to prevent the script from making Spotify really laggy or am I out of luck? Thanks :)

I've been noticing a general lag on WOEM with many apps which run in the background. To test this I installed multiple messaging and audio playing apps which I know will need to run constantly in the background. The result I get is severe lag when switching between apps or even when using different features within the same app. This happens even when the device has been awake for a period of time which leads me to think this is an issue with WOEM and not PowerNap in particular. Anyone else notice this?
 
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