cancel
Showing results for 
Search instead for 
Did you mean: 

GetControllerBatteryPercentRemaining for Quest always returns 0

TheWrstScrnNmEv
Honored Guest
Hi, I am looking to get the battery level for the touch controllers on a Quest 1 or 2 from Unity. I am calling 
byte LBattery = OVRInput.GetControllerBatteryPercentRemaining(OVRInput.Controller.LTouch);
and same with RTouch.
but I only seem to get 0.
Has anyone else gotten this to work, and if so, what am I doing incorrect?
2 REPLIES 2

TheWrstScrnNmEv
Honored Guest
Looks like it is somewhat working, although I do get 0's back for both controllers from time to time still.

TarekNassef
Honored Guest

Hello Brother !

The (OVRInput.GetControllerBatteryPercentRemaining) method is specifically designed for older Oculus devices and might not work as expected with the Quest 2. Only! You can check the condition of the battery Left and Right Controller to see if they need charging or not (status only)