dimanche 22 juillet 2012

BattSaver



Presentation


BattSaver is a Cydia tweak that aims to save battery of your iPhone.
My experience shows that the battery can last 2 times longer with BattSaver running !
Everyone knows that the most battery eater is the data/3G activity.
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,
  • 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 !

BattSaver has a unique feature : it records your battery state, so you can see you consumption on a graph :
As you can see the last discharge duration was 3 days. Before using BattSaver, I had to charge my device every day !

Some more screenshots :
Main menu :

A part of the last battery status:

A part of the Custom settings

The graph customization view

The application icon :)

Soon on Cydia, stay tuned !


jeudi 22 mars 2012

iSleepWell

Versions

Version 2.0.1 was submitted to the bigboss repository (10 june 2012).
Changelog : 
  • New features
    • Users can choose to not switch to airplane mode, instead one can chose to switch :
      • WiFi,
      • Bluetooth,
      • Phone,
        • Data (Edge)
          • 3G
      • Location
    • Airplane mode is still usable if you want to be totally quiet ;)
  • Bug fix
    • iSleepWell is more reactive when the phone is hibernation mode (off for more that 1 minute). Actually,  iSleepWell wakes the phone every 15 minutes to check its position.


Version 1.2.3 was submitted to the bigboss repository (24 apr. 2012).
Changelog :

  • Bugfix
    • A serious bug will prevent iSleepWell 1.2.2 and lower from running after May, 1st,
    • Minor bug fixes


Version 1.2.2 was submitted to the bigboss repository (17 apr. 2012).
Changelog :
  • New features
    • Users can choose when iSleepWell is active
      • enable/disable feature,
      • start hour (24h),
      • end hour (24h).
  • Bugfix
    • The AC charge only was buggy if you first unplug the charger then switch the device screen up, the radios were not enabled again : fixed.
    • The position algorithm was rewritten from scratch,
      • the 3 axes are used for vector calculation,
      • NOTE :  the sensitivity should be adjusted, since it's now more accurate.
        • 0% means about 10° of deviation against Z axis,
        • 90% means about 1° of deviation against Z axis.
    • A battery drain as been fixed,
    • Several minor bugs fix.

Version 1.1.1 was submitted to the bigboss repository.
Changelog :
  • New features
    • Users can tune the sensibility from 0% to 90%
      • 0% - the airplane mode change is easy,
      • 90% - the airplane mode change is hard (device must be horizontal).
    • Enable on AC only
      • iSleepWell disables itself if the device is not plugged on power supply.
  • Bugfix
    • The Prevent from running feature was useless and buggy : it has been removed.

Version 1.0.8 : initial public release
  • a bug was found in version 1.0.8, a workaround is described in comment.
  • iSleepWell is now compatible with iOS 5.1 !

Presentation
iSleepWell is useful to turn airplane mode ON when going to bed (for example) by just putting your iDevice beside you on the screen side.

It detects that position and turns off all radios.

You can sleep without being disturb by unsolicited calls and you are not bombarded by negative waves.
Many parameters can be changed.

View the presentation video :
The video was done with a French voice, the Cydia version comes with an English voice.
A future version will surely get multi voices support.

No icon is added except in Settings.


Enabled : if ON (default), iSleepWell will detect the sleep position and react as expected. If OFF, it does nearly nothing except waiting to go ON.

Play Sound : when the airplane mode is about to be triggered the device says Airplane mode enabled. This let you put it on the right side to prevent the mode change.
When you take back the device in your hand, the device says Back to normal.
If OFF, no sound is played.

Vibrate : when airplane mode is actually changed, the device vibrates if ON. 

Scan interval : iSleepWell polls the accelerometer state each X seconds : 5 and 10 are good choices.

Use time : enables the feature for preventing iSleepWell from running outside the time interval.

Start hour : the first hour iSleepWell will operate normally. Example : 10 pm; iSleepWell will start monitoring the device position at 22h00.

Stop hour : the first hour iSleepWell will be prevented from running. Example : 7 am; iSleepWell will stop monitoring the device position at 07h00.

Screen down : by default you have to put the device on the screen to trigger the airplane mode. you can change that behavior by setting this switch to OFF. Useful to test and see the plane too...

Active on sleep mode : when you let your device without using it at all, it goes to suspend state and the applications receive no CPU time from iOS. This switch set to ON awakes to device every 15 minutes to check if the position have changed. So turning your device may not trigger the airplane mode right now if it is in hibernation. This will consume very few battery.
You can set it to OFF if you fear for your battery, but I did not notice significant change.

Disable on manual change : if you set Airplane mode by yourself (when you are aboard a plane ;)), iSleepWell will detect this state and will disable itself until you reenables the radios by yourself.
Setting this to OFF, will let iSleepWell to reenable the radios. It's safer to let this to ON.

Enable on AC only : iSleepWell will monitor the device position only if it's currently charging (as many users charge their devices while sleeping).

Debug in syslog : iSleepWell will print its debug log in the syslog (the syslog must be enabled to achieve this : see Syslog Toggle on Cydia).

Cydia description
This teak is useful to turn airplane mode on when going to bed (for example) by just putting your iDevice beside you on the screen side.
It detects that position and turns off all radios.
You can sleep without being disturb by unsolicited calls and you are not bombarded by negative waves.
Many parameters can be changed.

Note : iSleepWell installed from untrusted sources is known to have issues.

mercredi 21 mars 2012

This blog is aimed to present my applications for iPod/iPhone.

I open this blog to present my applications for iPod/iPhone.
I'll put messages here to describe them and to support them.

The very first application should be out next week.

--Xvolks