View Single Post
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#549
Originally Posted by auouymous View Post
New ASUI test binary.
  • fix: turn off wifi and bluetooth and wait for their services to acknowledge before entering flight mode
  • fix: lock keys for the 2 seconds it takes power button to blank screen when locked
  • save and restore state of battery rate/times mode

@ maacruz, this waits until icd and/or bluez have replied before sending the flight mode signal. The binary you have was sleeping for 100ms after it disconnected wifi before it sent the flight mode signal and this release gets back the flight mode change really fast so not sure if it will make a difference. If it doesn't work I can try inserting a sleep between the ack and flight mode request to simulate the time it would take your finger to move from the wifi widget to the flight mode button.
It seems to work fine , but I'm still testing, now with the latest debug binary.
New ASUI test binary. I forgot to reset the flight mode flag and it'll automatically enter flight mode every time wifi or bluetooth disconnects.
LOL
I'm tempted to label that as a feature too
@ maacruz, I think you solved my 14%/hour drain problem when I enter flight mode and leave wifi services running. I don't have mine set to auto-scan for networks so I never received any ICD signals, just an enormous drain that doesn't seem to happen with this fix. Now if only tear wouldn't prompt to leave flight mode everytime I access local HTML files with wifi services running.
LOL. And in the process you have fixed what seems to be a very long standing diablo bug, and improved the battery life for everyone
 

The Following User Says Thank You to maacruz For This Useful Post: