Bluetooth Toggle Button?

Discussion in 'iPhone Tips, Help and Troubleshooting' started by Tknull, Oct 28, 2011.

  1. Tknull macrumors regular

    Joined:
    Jun 24, 2011
    Location:
    San Diego
    #1
    Is there a way to set up a toggle on/off button or link or anything on the main screen of the iPhone?

    I'm trying to minimize battery usage/drain... and bluetooth seems to be a big culprit. I use a headset frequently. But to go into the settings and dig down to turn it on and off takes too much time.

    Please and Thanks!
     
  2. verwon macrumors 68030

    verwon

    Joined:
    Jul 26, 2011
    Location:
    Seattle
    #2
    I don't think that's possible, except through jailbreak.
     
  3. itdepotonline macrumors newbie

    Joined:
    Oct 19, 2011
    #3
    Nice

    I found this code on think wiki.org but I don't know how to make it work.
    It would be nice to have an icon on the desktop or panel that executes this code.

    # cat /etc/acpi/actions/bluetooth
    #!/bin/bash
    # Bluetooth enable/disable script

    /etc/init.d/bluetooth status

    if [ "$?" -ne 0 ]; then
    /etc/init.d/bluetooth start > /dev/null
    echo enabled > /proc/acpi/ibm/bluetooth
    echo "Bluetooth enabled"
    else
    /etc/init.d/bluetooth stop > /dev/null
    echo disabled > /proc/acpi/ibm/bluetooth
    echo "Bluetooth disabled"
    fi
     

Share This Page