1. Are you ready for the Galaxy S20? Here is everything we know so far!

[Boost Mobile] PowerNap script family

Discussion in 'Android Devices' started by mercury0x000d, Dec 10, 2013.

  1. mercury0x000d

    mercury0x000d The ultra-modern operator
    Thread Starter


    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.


    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!

    1. Download the Forums for Android™ app!


  2. Skinnyjeans21

    Skinnyjeans21 Android Expert

    Mind if I ask you to add a HaloBean Edition to that family later on? I'm working on my own version as well :)
  3. jimsmith80

    jimsmith80 Android Expert

    If you want you can post the modified DS power nap. Its based on your first generation script with a few modifications
    mercury0x000d likes this.
  4. mercury0x000d

    mercury0x000d The ultra-modern operator
    Thread Starter

    No problem! New additions to the family are always welcome ^_^
    sb43 and LilBit like this.
  5. LilBit

    LilBit Extreme Android User

    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!!
    mercury0x000d likes this.
  6. mercury0x000d

    mercury0x000d The ultra-modern operator
    Thread Starter

    Thanks, Bit! :)

    Have you noticed any lag or slowdowns over the previous PowerNap?
    LilBit likes this.
  7. LilBit

    LilBit Extreme Android User

    Not a single hiccup:)
    Works great!!;)
  8. GChild78

    GChild78 Newbie

    Question. When setting permissions, is it supposed to be set to 0777?
  9. rickpcb

    rickpcb Android Enthusiast

    You don't need to set any permissions... keep in mind all the current stable roms have this integrated already...
    LilBit, mercury0x000d and GChild78 like this.
  10. Zayny

    Zayny Newbie

    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 :)
  11. rickpcb

    rickpcb Android Enthusiast

    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.
    mercury0x000d likes this.
  12. mercury0x000d

    mercury0x000d The ultra-modern operator
    Thread Starter

    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?
  13. iram

    iram Android Enthusiast

    yes...just installed woem.....its very lagging switching between apps
  14. mercury0x000d

    mercury0x000d The ultra-modern operator
    Thread Starter

    I think I know what the problem may be. It seems the ROM works okay as long as it's not heavily loaded down, but when it is the lag becomes quite problematic.

    Thanks for the input!

ZTE Warp (N860) Forum

The ZTE Warp (N860) release date was October 2011. Features and Specs include a 4.3" inch screen, 5MP camera, 512GB RAM, Snapdragon S2 processor, and 1600mAh battery.

October 2011
Release Date

Share This Page