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.