BattSaver

Version 1.3.0

Q. I have issues with BattSaver.


  • Q1 : Xvolks asked for a syslog trace to understand my bug : How do I do that ?.
    • R1 : To enable syslog :
      • Download with Cydia Syslog Toggle for SBSettings,
      • With SBSettings, enable syslog.
    • In BattSaver :
      • Go to Settings,
      • Switch ON the Debug entry.
    • Reproduce the problem.
    • Send me the file /var/log/syslog with iFile for example.
  • Q2 : All radios are switched off when the phone goes off.
    • R2 : This was by design to maximize power saving, please use the new iMessage friendly mode (power saving will be less effective).
  • Q3: When I turn on my phone, the radios are still down/I must enable them by hand.
    • R3 : There is a timer that enables radios after a while, by default it's probably too long for you. Go to Custom mode and change it in Delay before radios on/off section.
  • Q4 : When I turn on my phone, there is an error message like "Cellular data are inactive".
    • R4 : This is quite normal, since the Edge/3G are not turned on right now.


Q. What is BattSaver ?


BattSaver will control the state of the radios (not only 3G) for you. It will turn off them when you do not need them :
  • when the phone is off, BattSaver will turn off all radios except GSM (so you can get incoming calls and SMS).
  • when the phone is on, BattSaver will turn off edge (data) if you are connected to a WiFi hotspot.
  • when phone is on and no WiFi is available, it will turn on data and off WiFi.
BattSaver is fully customizable and has 5 different strategies of power saving :
  • None :
    • All saving strategies are disabled,
  • iMessage friendly :
    • All radios except Edge are disabled when you turn off the device and back on when you turn it back on.
    • You do not loose any iMessage this way (or force the sender to send messages via SMS).
  • Normal :
    • All radios are disabled when you turn off the device and back on when you turn it back on, Each 15 minutes it allows BattSaver to wake up radios to get latest email and notifications
  • Aggressive :
    • Same as Normal, plus :
      • Each 45 minutes it allows BattSaver to wake up radios to get latest email and notifications.
      • It disable Edge if WiFi is connected.
      • It disable WiFi if no hotspot is detected.
      • It switches to Ultimate mode if battery is less than 15%.
  • Ultimate :
    • It disables all radios when phone is turned off.
    • It does not enable radios when turn on (it up to you to enable the radio you need manually via SBSettings for example).
    • It disable Edge if WiFi is connected.
    • It disable WiFi if no hotspot is detected.
  • Custom :
    • You select which optimizations you want you use.
    • You may choose to always try to enable a radio, when you turn on the device.
In all cases, BattSaver will not try to change data/3G if a call is incoming, outgoing or you are in call (because doing this would interrupt the call).
BattSaver waits some seconds before turning on and off radios, so you can watch the clock of your iPhone without changing the state of the radios : it does not eat battery !

Version history.


Version 1.3 : Bug fixes
  • Fix a Springboard freeze when BattSaver was doing some computation
  • The radios restore in background worked only once.
  • Respring while iPhone is connected to AC : BattSaver did not detect the AC state.
  • If the Bluetooth was activated by Setting app, BattSaver was unable to turn it off
  • The BattSaver GUI was crashing on iPads
  • Changed the At Sleep time ON/OFF segmented to Switches
  • Potential memory leak.
  • Many other minor bugs.
New features
  • iOS6 support, tested on 6.1 (3GS, 4, 4S, iPad2, 5), 6.1.1 (4S)
  • Add a status bar icon indicating the state of BattSaver
  • Speedup respring (speed up BattSaver startup)
  • Multiple language support (English, French)
  • Add Car mode : turns ON bluetooth when connected to power supply.
  • Graph switches are saved for next use.

Version 1.2 : Bug fixes
  • CDMA carriers do not support 3G OFF.
  • Sometimes the radios were not enabled at Wakeup.
  • Add missing titles in views At Sleep time and At Wake up
  • Add an event to restore correctly the state of some controls in At Sleep time view
  • Potential memory leak.
  • Potential crash of the Springboard (use after free bug)
  • In Custom mode some views did not restore properly (Edge was always OFF on some devices)
New features
  • Added a list of applications that prevent the radios to be switched OFF.
  • Added a list of applications that switch the radios OFF.
  • Added a lock/dim switch in Settings to trigger the radios switch on lock/unlock instead of dim/undim.
  • Added a debug switch in Settings for syslog debug.
  • When the device uses tethered mode, the radio states will not be changed.
  • When the device is plugged, it now switches automatically to the None Strategy and vice versa.
  • When the device is low battery and switches to Ultimate mode an auto-dismiss popup alerts you.
  • Added in Custom mode a timer for each event : sleep and wake up
  • Added a new Strategy : iMessage friendly that does not turn off Edge/data (eats more battery)

Version 1.1.0 : New features
  • In Custom mode the radio management screens have changed.
    • Radio states at phone wake up has moved on an other screen : Radio states at wake up.
    • New entry : Radio states at sleep time let you manage what to do with radios when you turn off the phone.
  • You can select radios that will not be turned off when phone is switched off. For example :
    • If you often listen an Internet radio over WiFi, set WiFi to ON in Radio states at sleep time.
    • If you have Bluetooth Hands-Free Kit in your car, set Bluetooth to ON in Radio states at sleep time.
    • If you need instant iMessage, set Edge to ON in Radio states at sleep time.
    • Be aware that setting one or more radio to ON here will reduce BattSaver's efficiency
  • Other changes :
    • In Normal Mode the delay before turning on or off the radios has been reduced to 3 seconds. (Just enough time to glance at the clock.)
    • In Agressive Mode the delay before turning on or off the radios has been reduced to 5 seconds.
    • In Custom Mode, added 2 delays (30s, 1 minute) to those already present.
    • In Custom Mode, the Save statistics switch was always ON.
Version 1.0.2 : Bug fix
  • The preference file could not be created, so no preferences were saved.
Version 1.0.1 : Initial release