[App]14.03.2011 SuperPower v0.80 Battery save:Data, Wi-Fi, BT, GPS, 2G/3G/4G, CPU mhz

Search This thread

ctbear

Senior Member
Oct 15, 2009
1,287
325
Seattle
This has been reported before by others on Market. I have no clue what is going on here, seems the preferences screen is not willing to be drawn. AdFree will have nothing to do with it :)

If you can spend a few minutes to help me with this, hopefully I can fix the problem!

First step is giving me exact details of which device and ROM you are using. Seems to be "Nexus One - CM Nightly / MIUI" but signatures are not always up to date, please confirm.

Another question: do you get a "loading" dialog shown for a second or so, or not even that ?

Instructions (requires ADB):
- Connect device to computer
- Make sure ADB can connect, try with "adb shell" or similar
- Make sure you do NOT have the "blank" SuperPower screen open
- Execute the following in a command prompt:
Code:
adb logcat > superpower.log
- Open the SuperPower screen which will be blank
- Wait no less than 10 seconds
- Push the BACK button (not HOME!) to close the blank screen
- Ctrl+C in the ADB logcat window
- Zip up superpower.log and post the result here!

I have a Nexus One, with MIUI 10.22 rom
and yes, I got the loading screen when starting up the app.
Here is my log, thanks for the help :)
 

Attachments

  • superpower.zip
    14.1 KB · Views: 38

lou2s

Senior Member
Jun 19, 2010
775
290
I hv been using juicedefender (mainly for it's scheduled sync feature) and just come across Superpower today. Wanna try if it makes a difference, especially for the 2g/3g toggle, so I download it from the market. I give permission via superuser and I saw the loading screen (preference, etc.) then a blank whitish screen showed as a result. I am also using Nexus One with MIUI 10.22 so this might be the problem. Thanks!
 

nemesys504

Senior Member
Oct 13, 2006
268
10
New York, NY
SuperPower has been updated to v0.63 !

4G

This version of SuperPower does NOT bring 4G features, but I did build in some detection. I will need people in possession of WiMAX devices to check logcat output.

Test instructions:

- Make sure SuperPower is running
- Use a logcat viewer:
--- DDMS: Enter [SuperPowerSvc] in the Filter box
--- logcat: adb logcat SuperPowerSvc:* *:s
- Turn WiMAX on and off through settings

When WiMAX is off you should see the following output:

NETSTATE WiMAX :: Capable: Yes
NETSTATE WiMAX :: Enabled: No
NETSTATE WiMAX :: Connected No

When WiMAX is on and searching:

NETSTATE WiMAX :: Capable: Yes
NETSTATE WiMAX :: Enabled: Yes
NETSTATE WiMAX :: Connected No

When WiMAX is on and connected:

NETSTATE WiMAX :: Capable: Yes
NETSTATE WiMAX :: Enabled: Yes
NETSTATE WiMAX :: Connected Yes

Please let me know if all three states appear exactly as listed here.

So I tested the 4G detection and it doesn't seem to work properly.

I rebooted my phone then used DDMS to view the events and it seems to detect when the app is loaded but doesn't try to detect when I actually turn on 4G.

I attached a screenshot of the events in DDMS. After com.android.settings I turned on 4G and as you can see nothing happened.
 

Attachments

  • SC2.jpg
    SC2.jpg
    95.1 KB · Views: 116

vysus

Senior Member
Apr 26, 2007
1,255
66
Cool! This app ROCKS!
I was half the way to leave the HD2 Android project due to the huge and unbearable battery drain, but never say never:
yesterday, without SP, battery lasted minus than 6 hours, I really don't wanna loose my push mail and the drain is surely caused by the constant data transfer.
Woke up this morning and started device at 6.40: now it's 8.10 and battery stays at 92%, several emails sent & received, obviously left data connection always on.
NOW there's no need to buy a DHD or a Z, REALLY!
 

Ireyn

Member
Aug 25, 2010
33
8
I think the app needs a good way to let the user know which settings override which other settings.

For instance ... place the highest-priority settings at the top of the list. Then settings at the top of the list take priority over the ones below them.
 

emelie

Senior Member
Jul 4, 2010
327
14
Vienna
I think the app needs a good way to let the user know which settings override which other settings.

For instance ... place the highest-priority settings at the top of the list. Then settings at the top of the list take priority over the ones below them.
i second that. had to really concentrate to get the hang of it - but then i can't think of a possible alternative to how things are now, maybe later.

on another note: while setting all the preferences i set several apps to always have a data connection.
after uninstalling several of those apps last night i noticed that they still are set in the preferences. once i unset them they are gone.
several things crossed my mind:
- it would be great to have a long-press action in the per-app-list; "delete" or "unset" or something like that
- maybe it should automatically remove apps that are uninstalled? or maybe it's convenience that their settings are being rememberd by your app in case i re-install one of those apps? i would appreciate if the settings are being removed once i uninstall an app.
- i then thought "what the hell i'll better delete all per-app settings" and went through the process of opening/disabling/closing every item i've set before; would it be wise/possible to provide a remove-all-per-app-settings switch?

some other things i like/miss/noticed:
- is there a setting to enable/disable the service as a whole?
- is there a setting to enable/disable parts of the service? (e.g. above mentioned per-app-monitor)
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,856
www.chainfire.eu
Thanks for the response. No the issue is not fixed I have to reboot and then it will work again for a while. I will try the new version .63 and report my findings. Thanks, I think this program is excellent, even if I am having this problem, my battery life has definitely increased.

Ah ok. So the problem doesn't always happen, just sometimes ?

I have a Nexus One, with MIUI 10.22 rom
and yes, I got the loading screen when starting up the app.
Here is my log, thanks for the help :)

I hv been using juicedefender (mainly for it's scheduled sync feature) and just come across Superpower today. Wanna try if it makes a difference, especially for the 2g/3g toggle, so I download it from the market. I give permission via superuser and I saw the loading screen (preference, etc.) then a blank whitish screen showed as a result. I am also using Nexus One with MIUI 10.22 so this might be the problem. Thanks!

Unfortunately the logs didn't help and I still don't know what is going on with this ROM. I'm afraid I'm not going to be able to do anything about this problem until I can find a ROM that exhibits the same bahevior on either Galaxy S, G1, or Hero.

However, I am putting some extra logging into the startup screen for the next release (probably will be a few days, though). If the same logcat can be output again with the next release, it may help pinpoint the problem.

So I tested the 4G detection and it doesn't seem to work properly.

I rebooted my phone then used DDMS to view the events and it seems to detect when the app is loaded but doesn't try to detect when I actually turn on 4G.

I attached a screenshot of the events in DDMS. After com.android.settings I turned on 4G and as you can see nothing happened.

Could you try turning on/off 4G, then starting SuperPower again, and checking the startup output to see if the enabled/connected values are correct in those cases? (At least I know the capable value works right now :D) If so it means the base functions work, but the "state change" detection doesn't. I'll know what to work on :)

I think the app needs a good way to let the user know which settings override which other settings.

For instance ... place the highest-priority settings at the top of the list. Then settings at the top of the list take priority over the ones below them.

I agree this needs some more thought :) But it is difficult as what overrides what depends on the situation.

Though generally, everything that starts with "Auto" or "Switch" is overridden by anything that starts with "Do not". As a rule of thumb.

i second that. had to really concentrate to get the hang of it - but then i can't think of a possible alternative to how things are now, maybe later.

on another note: while setting all the preferences i set several apps to always have a data connection.
after uninstalling several of those apps last night i noticed that they still are set in the preferences. once i unset them they are gone.
several things crossed my mind:
- it would be great to have a long-press action in the per-app-list; "delete" or "unset" or something like that
- maybe it should automatically remove apps that are uninstalled? or maybe it's convenience that their settings are being rememberd by your app in case i re-install one of those apps? i would appreciate if the settings are being removed once i uninstall an app.
- i then thought "what the hell i'll better delete all per-app settings" and went through the process of opening/disabling/closing every item i've set before; would it be wise/possible to provide a remove-all-per-app-settings switch?

some other things i like/miss/noticed:
- is there a setting to enable/disable the service as a whole?
- is there a setting to enable/disable parts of the service? (e.g. above mentioned per-app-monitor)

Taking your suggestions under advisement. As stated before, the per-app settings are getting a complete overhaul in an upcoming version, though is probably still a number of versions away.

There is currently no way to enable/disable the entire service or parts of it. Also on the to-do list, though. It's not easily possible to enable/disable parts in the code unfortunately, except for a few cases (like app-specific)

airplane mode is coming on when it goes to sleep regardless, no good if you want to take calls at all!!! galaxy s

Doesn't happen for me unless I select the airplane feature under sleep mode, can anyone else confirm this behavior? Note that if you have "Switch to 2G" turned on in sleep mode it appears to go into airplane mode due to the band switch, but this will not last more than a minute or so.
 
Last edited:

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,856
www.chainfire.eu
4G and blank screen

Ok here is a special test version ONLY for 4G detection testing and the blank screen issue.

4G
Please perform the tests again and let me know the EXACT output

Blank screen
Please recreate the logs as explained previously. I've added some extra logging that may help pinpoint the problem.

Everyone else
Don't install this version.
 

Attachments

  • SuperPower-v0.64-debug.zip
    268.8 KB · Views: 42

Davith

Senior Member
Apr 11, 2010
452
39
If you dont have an icon next to the bars that should mean that (cellular) data is disabled. However, the statusbar is not always correct. I've noticed what you mention happens on my Hero sometimes, but I've never noticed it happening on my SGS.

It's not happened again so that's fine. Thanks for this brilliant app.

By the way, anybody notice any difference in battery consumptions during sleep mode (from 00AMto 8PM in my case)? I disabled WiFi, data and bluetooth and still lost 6% overnight (~8hours). Don't get me wrong, that's not bad, but it's about the same as what I was losing before with 3G data enabled.
 

emelie

Senior Member
Jul 4, 2010
327
14
Vienna
holy sh** i just discovered i ran into the nasty 2.1 bug you mentioned in "known issues".
mail service went crazy and wastes power up to the point that i'm able to watch the percentage going down.
i guess i'm going to test along but switch to permanent use once froyo is officially out.
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,856
www.chainfire.eu
holy sh** i just discovered i ran into the nasty 2.1 bug you mentioned in "known issues".
mail service went crazy and wastes power up to the point that i'm able to watch the percentage going down.
i guess i'm going to test along but switch to permanent use once froyo is officially out.

Can you reliably reproduce this problem ? If so, it'd be a big help if you could confirm wether disabling "background data" under settings -> accounts and sync will stop the madness ?
 

nemesys504

Senior Member
Oct 13, 2006
268
10
New York, NY
Could you try turning on/off 4G, then starting SuperPower again, and checking the startup output to see if the enabled/connected values are correct in those cases? (At least I know the capable value works right now :D) If so it means the base functions work, but the "state change" detection doesn't. I'll know what to work on :)

I tried testing and did what you asked. Again I rebooted my phone, turned 4G on then off, ran SuperPower then turned 4G on and off again. Nothing happens. I attached the DDMS log to show the events.

I will test your special test version and report back here.
 

Attachments

  • SC3.jpg
    SC3.jpg
    94.5 KB · Views: 83

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,856
www.chainfire.eu
I tried testing and did what you asked. Again I rebooted my phone, turned 4G on then off, ran SuperPower then turned 4G on and off again. Nothing happens. I attached the DDMS log to show the events.

I will test your special test version and report back here.

Looking forward to the results of the test version. However with the on/off I meant:

- Turn on WiMAX
- Start SuperPower
- Note output
- Close SuperPower (BACK button!)

- Turn off WiMAX
- Start SuperPower
- Note output
- Close SuperPower (BACK button!)

- Start SuperPower
- Turn WiMAX on and off a few times
- Note output

The special test version will hopefully output events when you turn WiMAX on/off when SuperPower is running.

If it does, I will need to know the exact events... and if the output (enabled/connected) is actually correct.
 

nemesys504

Senior Member
Oct 13, 2006
268
10
New York, NY
Looking forward to the results of the test version. However with the on/off I meant:

- Turn on WiMAX
- Start SuperPower
- Note output
- Close SuperPower (BACK button!)

- Turn off WiMAX
- Start SuperPower
- Note output
- Close SuperPower (BACK button!)

- Start SuperPower
- Turn WiMAX on and off a few times
- Note output

The special test version will hopefully output events when you turn WiMAX on/off when SuperPower is running.

If it does, I will need to know the exact events... and if the output (enabled/connected) is actually correct.

Will try this later. But on a good note I tested your special test version and everything seems to be working. :D

Attached 2 screenshot. First with 4G on and the second with 4G off. Is there any special way you would like me to test this version also?

Will try 0.63 with the instructions you posted.
 

Attachments

  • SC4test.jpg
    SC4test.jpg
    99.6 KB · Views: 81
  • SC5test.jpg
    SC5test.jpg
    99.3 KB · Views: 80

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,856
www.chainfire.eu
Will try this later. But on a good note I tested your special test version and everything seems to be working. :D

Attached 2 screenshot. First with 4G on and the second with 4G off. Is there any special way you would like me to test this version also?

Will try 0.63 with the instructions you posted.

Actually, don't bother, this is exactly what I need for the moment. WiMAX detection features seem to be 100% operational.

I will come up with some more tests (turning it on/off, relation to "data" settings) and provide you with a new test version.
 
Last edited:

ctbear

Senior Member
Oct 15, 2009
1,287
325
Seattle
Ok here is a special test version ONLY for 4G detection testing and the blank screen issue.

4G
Please perform the tests again and let me know the EXACT output

Blank screen
Please recreate the logs as explained previously. I've added some extra logging that may help pinpoint the problem.

Everyone else
Don't install this version.

I'm on CM6.1 right now and the app works fine. I will flash back to MIUI tomorrow and let you know the result
 

airbillion

Senior Member
Jan 2, 2008
526
12
Ah ok. So the problem doesn't always happen, just sometimes ?

OK, I tested with 0.63 and the problem is consistent and reproducible. I disabled juice defender and restarted, from the market I installed SP 0.63 and turned on airplane mode so I was only using wifi. I used the captivate on wifi for 10 minutes then placed the phone to sleep 2-3 times. On the 3-4 wake up the wifi would not reconnect to my network but, it would show the available networks in my area. When I click on my ssid in the wifi menu it quickly reports that is obtaining an ip then connects for a split second and then disconnects immediately. In the wifi menu my ssid is still available, I click connect (connect-forget-cancel) and the same thing happens. I reboot the phone and after boot it connects normally the first time and then the problem repeats, I then watch a youtube video and it disconnects in the middle of the video and I can not reconnect again until another reboot. I uninstall SP 0.63, re-enable juicedefender, and I have no disconnect-reconnect issues. I hope this helps, I really enjoy this program and like it's power savings features better than juicedefender. Hopefully, it is a bug and can be fixed. Thanks!
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,452
87,856
www.chainfire.eu
OK, I tested with 0.63 and the problem is consistent and reproducible. I disabled juice defender and restarted, from the market I installed SP 0.63 and turned on airplane mode so I was only using wifi. I used the captivate on wifi for 10 minutes then placed the phone to sleep 2-3 times. On the 3-4 wake up the wifi would not reconnect to my network but, it would show the available networks in my area. When I click on my ssid in the wifi menu it quickly reports that is obtaining an ip then connects for a split second and then disconnects immediately. In the wifi menu my ssid is still available, I click connect (connect-forget-cancel) and the same thing happens. I reboot the phone and after boot it connects normally the first time and then the problem repeats, I then watch a youtube video and it disconnects in the middle of the video and I can not reconnect again until another reboot. I uninstall SP 0.63, re-enable juicedefender, and I have no disconnect-reconnect issues. I hope this helps, I really enjoy this program and like it's power savings features better than juicedefender. Hopefully, it is a bug and can be fixed. Thanks!

I hope I can fix it too :D But first I need to find the underlying issue which is hard when I cannot reproduce and test at will.

There is one more thing you can do for me right now to help:

- Make sure SuperPower is installed and (Ultimate)Juice(Defender) isn't
- Reboot your phone
- Connect device to computer
- Start logging with ADB: adb logcat > superpower.log
- Play with your phone until the problem occurs
- As soon as possible when the problem surfaces, Ctrl+C in the adb logcat window
- Zip up and attach the superpower.log file

Hope you know how to use ADB or this will be difficult :) Perhaps from those logs I can figure out what is happening with Wi-Fi...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    THIS IS AN UNSUPPORTED EXPERIMENTAL BETA APPLICATION, BUGGY, USE AT YOUR OWN RISK. PLEASE READ THE ENTIRE POST BEFORE USING.

    About

    SuperPower attempts to save battery power by controlling various power hungry components and features of the device. Its features include managment of the cellular data connection, Wi-Fi, Bluetooth, CPU speed and 2G/3G band. It does all this automagically based on the options you configure.

    There are more battery saver apps out there, but none that work the way I want them to. It is however meant to work relatively simply. If you want uber-fine-grained control use one or a combination of the other applications available.

    SuperPower also serves as somewhat of an Android port of WMLongLife.

    BETA, Development & Testing

    This application is in beta stage and far from finished. There will be bugs, and the list of things that still need to added, changed, refactored, streamlineed, etc is long.

    Primary testing and development is done on a Galaxy S (unbranded, EU, I9000) device, but I also run tests on a G1 and a Hero. Other users have reported it (mostly) works on the Droid, Milestone, Nexus, Desire, Pulse, EVO.

    Android version

    SuperPower requires Android 1.6 or newer. Some features require newer versions, and some features have a different code path on different Android versions.

    For example, Bluetooth features require Android 2.0, while the download speed tracker (to not disable data while downloading) requires Android 2.2. Features are automatically disabled if they are not available for your Android version.

    Main features

    Control over
    - Cellular data
    - Wi-Fi
    - WiMAX * Android 2.2+ *
    - Bluetooth * Android 2.0+ *
    - CPU speed * ROOT *
    - Bands (2G/3G) * ROOT *
    - GPS * ROOT, PATCH, Android 2.2+ *
    - Auto-Sync
    - Background data * ROOT, PATCH, Android 2.2+ *

    Automatic management of the above based on
    - Screen state
    - Wi-Fi network connection state
    - WiMAX network connection state
    - Lock screen visibility state
    - Download speed
    - Foreground application
    - Tethering state
    - Sleep mode
    - Low battery state
    - Charging state

    Other

    - Schedule data connection to be available at certain times

    - Schedule night mode

    - Informative toasts in response to user actions

    - Status bar notifications about the current state, which you can tap to change

    - Provides handy shortcuts you can add to the home screen for easy access of a number of functions

    Additional features

    - Enable/disable data is non-persistent. APNs are not modified! This is no longer true on Gingerbread (2.3) and newer due to changes in Android security. Here either data is disabled entirely (Settings -> Wireless and network -> Mobile networks -> Use packet data, or APNs are modified (Access Point Names in the same menu).

    - 2G/3G switching is supported in two different ways: RIL injection (highly experimental, any ROM, possible side effects) and Sidekick (AOSP ROMs signed with platform test keys, or using patching)

    - Completely event based, no polling, ever.

    Future features

    I have a LOT of them already in my to-do list. However, if you have any ideas feel free to post them. To name a few that are already on my list: configuration wizard, widget, GPS control, mapper, signal-strength based 2G/3G. Of course improvement to current features, fixing bugs, etc are also on my (perpetual?) to-do list.

    Screenshots

    15
    16
    17


    Conclusion, copyright and download

    NOTICE: At this time I may not respond to each and every posts and questions. I do guarantee I will read every post and take what you write under consideration! Please report all your findings.

    Copyright: This app is fully my copyright. You may not distribute it without prior explicit consent from me! So no, you're not allowed to include it in your ROMs either :)

    ----

    Release notes: The changelog (a few posts down) contains links to version-specific release notes, if there are any.

    SuperPower can be found on Market under the name "SuperPower XDA-BETA". The QR code below will take you there:

    13


    Direct market link: market://details?id=nl.morose.superpower
    Appbrain link: http://www.appbrain.com/app/nl.morose.superpower

    It is on Market instead of being for download here because Market tracks force closes. This will help me debug :)

    (Original APK downloads <<< 0.60: 705)
    7
    Changelogs

    14.03.2011 - v0.80 BETA - Release Notes
    - Adjusted reboot code
    - Adjusted preference save/load code
    - Adjusted Sidekick install code (hopefully for the better)
    - New version of Sidekick
    - Uses ITelephony data controls on pre-Gingerbread
    - Uses secure settings patch, Sidekick, or APN-based data controls on Gingerbread, depending on availability

    18.11.2010 - v0.75 BETA - Release Notes
    - Adjusted some description in config app
    - Adjusted shortcut text for "wake up"
    - Added "running" notification. This will make sure that there is always a SuperPower notification in the statusbar while SuperPower is running
    - Adjusted when some notifications show or do not show based on other notification states
    - Added WiMAX notification + 4G icons
    - Added WiMAX shortcuts + 4G icons
    - Categorized the shortcut selection screen
    - Options the device is not capable of are now disabled in the shortcut selection screen
    - Added low battery mode override: charging
    - Added low battery mode override: screen on
    - Added low battery mode override: lock screen
    - Fixed option to disable cellular data when WiMAX is connected to a network
    - Added "reboot" permission, may fix issue with patch on some devices
    - Adjusted screen-on timeout cancel code
    - Added option to delay service start at boot. May solve issues with users running a temp-root-at-boot like VISIONary (warning: not tested)
    - Adjusted "application requires data when screen is off" handling
    - Added option to kill app on screen off (partially working on 2.2)
    - Added option to use "3G-only" mode for 3G to root features
    - Fixed an issue with bandswitching (would sometimes detect "complete" before switching started)
    - Fixed an issue with bandswitching (would not re-evaluate state after leaving lock state)
    - Reworked state and wakelock clearing at screen on / screen off / unlock (fixes lockscreen data/wifi/etc on issue)
    - Added option to not disable "other" interfaces (Wi-Fi, WiMAX, etc) while download speed is over X KB/s

    - Update on MIUI issue: bug report submitted to MIUI devs. Hopefully they can devise a workaround
    - Update on Wi-Fi error: still not properly reproducable. No closer to finding a solution (or the problem, even)
    - Update on App Specific options: Still needs an overhaul and a lot of extra options! :)

    04.11.2010 - v0.71 BETA - Release Notes
    - Fixed FC on Sidekick install fail OK click
    - Fixed checkmark on Sidekick install cancel remaining
    - Bluetooth support changed to API level 5 and up (Android 2.0)
    - WiMAX suppport changed to API level 8 and up (Android 2.2)
    - Airplane bug fixed. Cause: WiMAX functions do not work on pre-2.2, SuperPower switches to airplane mode instead of turning off WiMAX
    - Secure settings patch and force sidekick install limited to API level 8 and up (Android 2.2)
    - Adjusted patching text for modify secure settings

    03.11.2010 - v0.70 BETA - Release Notes
    - AdFree workaround (may cause delay during first-time-since-reboot load)
    - Updated AdMob SDK
    - Fixed bug with AdMob
    - Modify secure settings (Patch, ROOT), required for GPS and background data options
    - Alternative method for Wi-Fi on/off
    - Wi-Fi, Bluetooth, WiMAX, GPS, "turned off by screen off" states now persistent, will survive crashes
    - Persistent states cleared on boot
    - If service is restarted due to crash, it is now loaded correctly
    - Fixed crash when entering app-specific screen
    - Modified "changed settings" update in background service, should reduce lag in config app
    - Renamed "sleep mode" to "night mode"
    - PIN code setting now (correctly) states it requires 2.0 if older version detected
    - Implement setting Auto-Sync (Android 2.0+) and Background Data (Patch, ROOT) based on network connectivity
    - Added master switch to en/disable application specific options
    - Nightmode bluetooth on wake is now disabled if bluetooth not supported
    - Added GPS options (Patch, ROOT)
    - Adjusted multiple config settings: if no root is detected but is needed, options now have the correct "root required" summary
    - Added WiMAX functionality
    - Scheduled data wakeup during sleep mode disabled
    - Adjusted a number of default settings
    - Scheduled data is now performed automatically when coming out of night mode
    - Intensely modified handling of Sidekick-based switching to accomodate some devices
    - Sidekick switching now disables the data connection before attempting a switch
    - Added scheduled wake up time to night mode quick list
    - Alternative Sidekick installation path for non-AOSP ROMs with root

    28.10.2010 - v0.64 BETA (DEBUG)
    - Attempted fix for WiMAX detection force close (Market reported crash)
    - Additional logging in startup screen, hopefully help finds the problem for the "blank screen" issue
    - Additional logging to test WiMAX features
    - Possible fix for app-specific options listed apps that are no longer installed

    27.10.2010 - v0.63 BETA
    - Adjustment to data off during low battery, no longer turns off when battery low but charging and "do not turn off while charging" is set, when leaving airplane mode
    - Adjustment to data off during lock screen, scheduled data and charging states now override this setting
    - Adjustment to service keep-alive
    - Refactored settings screen (50% code reduction)
    - New functionality - sleep mode
    - New shortcut - sleep mode
    - New shortcut - wake up
    - New notification - sleep mode + tap to wake up
    - New sleep mode launcher + statusbar icon
    - New wake up launcher icon
    - Implemented set alarm detection code
    - Added some code to detect set alarms. This is not available through an API so is trial-and-error. Seems to work on most devices I've tried.
    - Added "Do not switch to 3G when Wi-Fi network is connected" option

    24.10.2010 - v0.62 BETA
    - Attempted fix for CPU functions force close on unknown model (Market reported crash)
    - Attempted fix for AsyncCreate.onPostExecute force close (Market reported crash)
    - Temporarily disabled AdFree detection, until a workaround can be devised

    22.10.2010 - v0.61 BETA
    - Left Sidekick in testing mode. Caused it to be unavailable. Fixed.

    21.10.2010 - v0.60 BETA
    - State detection improvements
    - Changed GSM: RILD_AUTO --> RILD_GSM_WCDMA (for Nexus 1, works according to Jug6ernaut)
    - Changed CDMA: RILD_AUTO --> RILD_CDMA_EVDO (for Droid, works according to Captainkrtek)
    - Added download speed check option, before turning off data or switching to 2G. API Level >= 8
    - Modifications to detecting application start, no longer requires root + bug fix
    - Click app title opens thread on XDA-Developers
    - Re-arranged user interface into sections
    - Ad-supported version no longer runs when AdFree is installed
    - Created APK that disables ads (for donator version)
    - Removed a LOT of SU calls
    - Data schedule aborts when airplane mode detected
    - Bandswitch aborts when airplane mode detected
    - Last wanted data-state / band-state applied when coming out of airplane mode
    - Post-wakelock-release vibration now optional (debug section)
    - Added per-app selection of 3G / data during sleep (new) options
    - Adjusted some item titles and summaries
    - Many speed and load improvements across several functions
    - If PIN code is entered in configuration, SuperPower will show a screen and unlock the device during certain operations, if needed. API Level >= 5
    - Added option to switch to 3G when tethering
    - Bluetooth options added. API Level >= 5
    - Screen off states no longer set when screen goes off due to phonecall+proximity sensor
    - Added low battery mode
    - New shortcut - override low battery mode
    - New shortcut - cancel override low battery mode
    - New notification - low battery mode + tap to override
    - New notification - low battery mode overriden + tap to re-enable
    - New notification - 2g mode + tap to switch to 3g
    - New notification - 3g mode + tap to switch to 2g
    - New notification - nag
    - New generic statusbar icon
    - New 2G launcher icon + statusbar icon
    - New 3G launcher icon + statusbar icon
    - New low battery launcher + statusbar icon
    - New low battery override launcher + statusbar icon
    - Application specific settings: re-arranged order, configured at top
    - Added lock screen options, to specify wether or not actions may be performed during screen on or only after unlock
    - Improved detection that band switch is complete

    - New known issue: applicatoin specific settings do not go into effect if the app is reached through the back-button, only if started through the launcher
    - New known issue: even if the "dont do ... while lockscreen visible" options are enabled, these actions may still happen if triggered by an application specific options

    14.10.2010 - v0.51 BETA
    - Settings activity: modified descriptions of "root features" to show why they are disabled, if they are disabled
    - CreateShortcut activity: ads added
    - Settings & CreateShortcut activities: automatic shutdown, prevents popping up the main screen when clicking a shortcut
    - Portrait lock (prevents lengthy re-loading at rotate)
    - Added screen state detection for API Level >= 5 (reflection)
    - CPU scaling: detect if ondemand or conservative is available, and set it if current governor is something else. Should support more devices.
    - CPU scaling: fixed a number of possible FC's by adding missing NullPointer checks
    - Service load is now multithreaded (prevents ANRs)

    14.10.2010 - v0.50 BETA - Initial release
    6
    Known issues

    - IMPORTANT BUG - WARNING In various Android 2.1 (Eclair) builds there is a bug with push email. In case there is no data connection available, the background email service will go absolutely insane. It will use quite some CPU power constantly, and it will not let the device go to sleep - ever! I do not know if this bug existed before 2.1, and I have not seen the issue on 2.2 ROMs. If you are suffering from this, or suspect you are suffering from this, disable all the options in SuperPower to disable the cellular data connection.

    - SuperUser: SuperPower does use a lot of root commands if you have root. You might want to configure SuperUser to not show toast notifications for every single request.

    - State: Current state detection is not perfect yet and needs some improvements. I would advise trying to limit changing options in the application to times when Wi-Fi is off and you are in 3G mode as much as possible, just to be sure.

    - Wi-Fi: Occasionally Wi-Fi and cellular data states will conflict, causing cellular data to be set to active when Wi-Fi is on. Happens sporadically.

    - CPU Scaling: On the I9000 and family, you should (in my experience) enable the "ondemand" option if you are using CPU scaling. If you don't, and the device is in "suspend" mode, an incoming phonecall may crash the device.

    - CPU Scaling: SuperPower makes no attempt to detect or disable perflock. If you have a perflocked device, you need to use SetCPU (or some other tool) to disable perflock on boot.

    - CPU Scaling: SuperPower attempts to detect the possible CPU speed settings, and will choose the nearest value below half the maximum CPU speed as "low speed" frequency. The actual number chosen is stated in the description of the relevant option.

    - CPU Scaling: I know some overclocked ROMs require the device to always be at this overclocked speed to prevent the device crashing during sleep. If you are using an overclocked ROM and encounter the "sleep of death", disable CPU Scaling.

    - Roaming: SuperPower has not been tested while roaming at all. I suspect - but am by no means sure - there may be issues regarding the cellular data connection while roaming and you have set the device to disallow data entirely (while roaming). Let me know if you encounter any that seem directly related to roaming.

    - Application specific: Applicatoin specific settings do not go into effect if the app is reached through the back-button, only if started through the launcher (or by some other app)

    - Lock screen: Even if the "dont do ... while lockscreen visible" options are enabled, these actions may still happen if triggered by an application specific options

    - 2G/3G: On some devices the device itself will automatically switch back to 3G, it will not stay in 2G for very long
    4
    FAQ - Frequently Asked Questions

    Index
    - General
    --- Will this prolong battery life ?
    --- I want feature X, but it isn't included
    --- I expected X to happen, but Y happened
    --- I found a bug

    - Data connections
    --- The connection state changed, but didn't change back when I expected it to

    - System popups
    --- The PIN screen pops up sometimes
    --- The locks screen pops up sometimes

    - 2G/3G
    --- A band switch is being performed even though I'm already in the mode it is switching to
    --- What is the difference between the RIL injection and the Sidekick method ?
    --- Even though I have root, the 2G/3G switching options are disabled (CDMA)
    --- Band switching takes too long, is this a bug ? Can it be improved ?
    --- I'm in 2G mode but my device switched back to 3G

    - CPU
    --- The device never wakes from sleep
    --- Using tool X shows me that CPU speed is never changed


    General: Will this prolong battery life ?
    Quite probably, yes, significantly! BUT, there is never a guarantee. It all depends on how you use your device, the current conditions, and how you configure SuperPower. Some options in general save a lot of battery, but may be too inconvenient for you to use (specifically 2G/3G switching), and if you still want to use them, some playing with the various options may be needed to get it to work with the least amount of inconvenience to your usage pattern.

    If you are a very heavy user, no amount of software is going to help you (much). You need a bigger battery (or a spare). If all you use your device for is streaming YouTube, chances are battery life improvements you will see are little to none.

    CPU scaling may have less effect than expected. The amount of battery it saves has differed wildly between tests on different devices.

    Using Wi-Fi may use significantly less power than using 2G/3G. Or, 2G/3G may use significantly less power than using Wi-Fi. It depends on the situation, the signal strength of both cellular and Wi-Fi, the transfer speed, etc.

    Using 2G instead of 3G will generally speaking use less battery for most users, but this is not a given. It depends on the situation.

    All in all however, the default SuperPower configuration will provide you with a setup that will save a lot of battery for the average user, with little to no inconvenience to the user.


    General: I want feature X, but it isn't included
    Feel free to request the feature in this thread, even if this feature is already listed in these posts that it will be implemented sooner or later. If feature X is posted about 10 times, and feature Y only 3 times, that may have an effect on the priority of implementation.


    General: I expected X to happen, but Y happened
    Please go through the entire configuration to make sure you haven't configured anything that causes this behaviour Y before posting here. Also read through this FAQ and the known issues. It is of course possible you have found an undocumented bug, if so please report it here (see "I found a bug")


    General: I found a bug
    If you post it here, perhaps we can do something about it. But first, please check your configuration first to make sure it is unexpected behaviour. When posting about a bug, always include the relevant SuperPower configuration options, exactly which device you are using, which ROM, etc. More information is usually better !


    Data connections: The connection state changed, but didn't change back when I expected it to
    In the default configuration, SuperPower will "upgrade" connection states as soon as possible, but general only "downgrade" them when you aren't looking.

    For example, turning on data will be done as soon as you need it; while turning off data will generally be done only a while after the screen goes off. The same goes for for example 2G/3G. Switching to 3G will happen as soon as possible, switching to 2G will not be done immediately.

    This does all depend on your SuperPower configuration, though!


    System popups: The PIN screen pops up sometimes
    On some devices certain actions can cause the PIN screen to popup when for example bandswitching or coming out of airplane mode.

    If you enter your PIN code in the SuperPower configuration and you have such a device, SuperPower will attempt to automatically enter the PIN code for you - IF it understands it was one of SuperPower's actions that caused the PIN popup. An overlay screen will be presented to you while the PIN is entered and the SIM unlocked.

    This is however an experimental feature, may not work 100% of the time, and can cause some inconvenience. If you find this highly annoying, but you do want to use the features SuperPower provides that may cause this behaviour, you can disable the PIN screen altogether in the device's settings application.


    System popups: The lock screen pops up sometimes
    Like the PIN screen, on some devices certain actions can cause the lock screen to popup. SuperPower actively counters this behaviour while it is performing actions. Should it still happen, please report it (and the exact situation that caused it), specific code that prevents this behaviour may need to be added to code in additional places.


    2G/3G: A band switch is being performed even though I'm already in the mode it is switching to
    It is not always possible to detect the current 2G/3G state. In that case, SuperPower will treat the current mode as undefined, and any trigger that will cause either 2G or 3G mode will result in a band switch being performed, regardless of what the current actual state may be. This is also a reason to not use the device's settings app (or any other app) to switch between 2G/3G when SuperPower is also using 2G/3G functionality. Always use SuperPower (and only SuperPower) to perform the band switch!


    2G/3G: What is the difference between the RIL injection and the Sidekick method ?
    RIL injection is as hackery as hacks come, and is currently only available for GSM devices. It completely circumvents most of Android and tries to force commands to be sent to the radio.

    Sidekick on the other hand will use the same method as the device's settings screen to trigger a band switch, and is therefor both safer and faster to use. It does unfortunately require a compatible ROM. Carrier / manufaturer ROMs are usually not compatible, and not all custom ROMs are compatible either. Sidekick is available both on GSM as well as CDMA devices.

    If your ROM is Sidekick compatible, Sidekick will always be used instead of RIL injection.

    Both methods have not been extensively tested on a wide range of devices yet. So neither method may be compatible with your device. Please post here if neither method works on your device.


    2G/3G: Even though I have root, the 2G/3G switching options are disabled (CDMA)
    RIL injection is currently only supported on GSM devices. Only the Sidekick method supports CDMA at the moment.


    2G/3G: Band switching takes too long, is this a bug ? Can it be improved ?
    Band switching will take time, and inconvenience you. There is no way around this. The phone has to drop the network connection and completely reconnect to the tower.

    However, in some cases it does take longer than in other cases. The Sidekick method provides the fastest band switching available, but is not compatible with many ROMs. If your ROM is compatible, though, Sidekick will be installed and used automatically instead of RIL injection.

    When the RIL injection method is used (which will probably be for most users), band switching speed depends heavily on the device. Some devices are fairly quick with RIL injections, others are slow. If you have a device that requires your PIN code for operations such as band switching and coming out of airplane mode, band switching will also take significantly longer.

    Depending on all these factors, band switching can take anywhere between 10 seconds and a minute. Band switching will usually save a lot of power, but you have to consider wether the extra battery life is worth the inconvenience.


    2G/3G: I'm in 2G mode but my device switched back to 3G
    Some devices are known to do this. If it happens to you, please post about it. An attempt a viable workaround is on the to-do list.


    CPU: The device never wakes from sleep
    Not all devices work perfectly with CPU scaling. If this happens, reboot your phone, go into SuperPower configuration, and switch the "ondemand" setting under "Root features". If that doesn't work, you'll just have to disable CPU scaling.


    CPU: Using tool X shows me that CPU speed is never changed
    The CPU speed cannot be easily changed on all devices. Some devices/firmwares are "perflocked". Disabling perflock is beyond the scope of SuperPower, and thus SuperPower will make no attempt to disable it. There are tools out there that can disable perflock on many devices that have it, for example, check out SetCPU.
    2
    Coding on it right now, actually :)