2011-04-19, 11:34
volkermord Wrote:Quick question though, I have the latest bluez but I have the "battery dies in less than a week" issue, so what exactly, step by step, is the procedure for patching bluez? I keep seeing the patch or people saying they applied it, but I don't know what to do with the code provided? I've search but couldn't really find anything, I'd be happy with just a link if this is already covered elsewhere
Kitlaan helped me out with this issue.
The remote itself has no logic to disconnect; the disconnection is done via the PS3/computer. So when you sleep the computer, the disconnect with the remote never happens, so the remote stays on indefinitely.
To fix this issue follow this:
Be sure you installed this packages:
- libbluetooth-dev
- python-dbus
- python-gobject
- python-bluez
Use this post to install bluez correct.
On this website (at the bottom) you can download a script called bt-disconnect-all
Add it to your home dir.
Next add a configuration to /etc/init/bluetooth-disconnect.conf
Code:
description "disconnect all devices before shutdown/reboot"
start on (starting rc RUNLEVEL=[06] and stopping dbus)
task
script
exec /path/to/bt-disconnect-all >/path/to/bt-disconnect.log 2>&1
end script
* Be sure you changed /path/to/ to the location of the configuration file is stored. And store the .log in your home dir.
This will show some output when you shutdown XBMC.
Also you can revere to the log bt-disconnect.log for some more detailed check.