Kodi Community Forum

Full Version: PS3 Remote Battery Power Drain work-around
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to first say that I've searched everywhere and never found the answers I needed. I rarely post, but decided to document this for the next person that may be looking for the same answers.

UPDATE (Jan 2018):
I have made some modifications to this workaround
1. Remotes do not always show up as "HID Bluetooth Device" but the "Microsoft Bluetooth Enumerator" is the same on every computer. Use this instead.
2. An account must be used to execute commands in the tutorial below. This will not work if your account has no password. Instead, set the username to "System". Now the script is elevated and run buy the system instead of a user account.

1. Create a script that shuts off the "HID Bluetooth Device" service, thus killing the Bluetooth connection between the remote and PC. This forces the remote into a "low power"/hibernation state.
2. Set a key on your remote to run the script above. You are basically creating a power off button for the remote.
3. Because you have disabled the service connecting the remote to the PC, you now have to use the keyboard to re-enable the service

1. My biggest problem with the above method is that you have to use a button on your remote to execute the PS3RemoteSleep.exe script. I have a wife and kids that will never remember to turn the remote off and it kills the batteries within 3 days. Have you ever had to use a button to power on/off for any of your other remotes? I want the remote to "power down"/sleep by itself thus freeing up the button for some other use. I don't want to have to do anything.

2. It is recommended that UAC be disabled to avoid seeing elevation prompts. Again, I have a wife and kids and want the prompt just in case they install something by mistake.

MY WORKAROUND - works in windows 7/8/10
My method used "DevManView" found at NirSoft CLICK HERE
This is a portable application that allows you to view what is in the device manager. Running DevManView from the command-line allows you to disable/enable a device by name.

Disabling the device in the device manager kills the bluetooth connection to the remote the same way PS3RemoteSleep does. This puts the remote in it's low power state. Pressing a button on the remote restores the connection. The difference is that you don't have to disable UAR and you do not have to use a button to turn the remote off. Also you are disabling the device by name, so it will work with any PS3 remote that shows a name in the device manager. My method simply executes a disable command every 5 min (shown in image below)

The device must already be paired with the computer
This guide assumes that you are already using PS3BluMote

1. Download DevManView and put it in your root folder "C:\". x86 and x64 are available. Make sure you download the right version (x86 cannot disable a x64 driver)

2. Open the "task Scheduler" and create a new task - give it a name you can remember.

3. General Tab - DevManView requires elevation. If you are not an administrator you may have to enter/save admin credentials to be used for the elevation

4. Triggers Tab - create the following trigger

4. Actions tab - create the following actions

5. Settings tab

Press OK and restart your computer. When it comes back up the task will keep firing off "silently" every 5 min (should be logged in the event viewer).
You will notice that PS3BluMote turns grey after the task runs (disabling the remote).
When you press a button on the PS3 remote the Bluetooth the connection will re-establish and PS3BluMote turns blue.

I suppose there could be occasions where button presses land outside of the 5min window. My wife and kids have not noticed this, but when it happens you simply have to press the button again. Bluetooth re-establishes almost immediately (not a noticeable wait time).

Important Stuff - READ THIS
If you are using a USB bluetooth adapter, you need to go into the power settings and make sure that it cannot be powered down to save energy. Otherwise the bluetooth adapter may re-initialize when it powers back up and your remote will completely loose the pairing connection. You will have to remove the device from "devices and printers", then re-pair it.

In windows 10 using the new "settings" menu to add a bluetooth device does not allow you the option of pairing without a PIN. To do this you must pair the "old-school" way and use the bluetooth menu in the control panel. Pairing this way will allow you to proceed without a PIN.
Thread moved to peripherals
Where are those dialogs in LibreELEC?
(2017-08-31, 11:49)nickr Wrote: [ -> ]Where are those dialogs in LibreELEC?

This is a windows solution. I'm sure the same thing can be done in Linux, but you will have to find a way to disable then re-enable the device as I have.
I will export the Task and write a script so this can easily be done. It will be uploaded and posted whenever I get to it. Thanks for reading.
(2017-08-31, 19:20)smaka510 Wrote: [ -> ]
(2017-08-31, 11:49)nickr Wrote: [ -> ]Where are those dialogs in LibreELEC?

This is a windows solution. I'm sure the same thing can be done in Linux, but you will have to find a way to disable then re-enable the device as I have.
Yes, my post was rather tongue in cheek (but there doesn't seem to be a smiley for that LOL)

Interesting that you only get 3 days use without this fix. On libreelec I get much longer than that, about 3 or 4 weeks, although I haven't actually kept track. Certainly much more than 3 days.

I conclude that there must already be something in either linux or the libreelec build that already looks after this.
I fixed this on my Linux (Ubuntu) media PC by adding hooks script to /etc/pm/sleep.d/01_bt and /etc/rc6.d/K99bt which calls a python script which disconnects all of the BT devices when it suspends or shuts down.

(That gets me weeks of battery time)
LE suspends BT whenever screensaver kicks in. To maximize battery life I use Bluez4 with the ps3 remote patch. Gives med 18months to 2 years, can't complain
Hmm, I would find that a bit annoying as it would delay wakeup.
Impressive battery life though Smile

BTW my battery life is using Eneloop NiMH batteries.
Yes the wakeup delay in LE isnt ideal. The wakeup delay with patched bluez4 is much faster. Ive set the timeout to 90 seconds. A bit short but it works fine for me.
I been using this for about 1 month now.... according to PS3BluMote, batteries in my living room are still @ 100% and 97% in my office. I have not checked any other rooms, but they do not get used as much.
My remote wakes up almost immediately after a button press, my family has not even noticed.

Sense the creation of this thread I have added some other functionality to my remote.

- Kodi start/exit button
- screen capturing
- screen recording
- LED color control
- "Alt+Tab" (show all open windows) - use arrow keys to select a window. I use this when focus is not set to the kodi window.
- "Alt+F4" - closes focus window/application - used in conjunction of the "Alt+Tab" button

if there is interest I can white up how to do all of the above.
Make a user and add this to the Kodi wiki. That way everyone can benefit.