User:Magick777/Opportunistic Power Saving

Maintain phone in GSM mode by default (when on battery)

  • Switch to 2G mode opportunistically when all seems to be quiet
    • trigger on phone locked
      • don't change anything if we're on a call
      • don't change anything if we're in the target radio mode
      • don't change anything if the user may still want 3G
        • blocker applications
        • blocker IP connections
        • blocker IP traffic
        • cooling off period of 2 mins during which unlock cancels radio switch
  • Switch to dual mode or explicit 3G when something requires it
    • trigger on events
      • launch browser
      • open e-mail account
      • launch other application
    • but test the following
      • don't change anything if we're on a voice call
      • don't change anything if we're already using WiFi
      • don't change anything if we're already in the target radio mode