Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Tknull

macrumors regular
Original poster
Jun 24, 2011
199
0
San Diego
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!
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.