Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
TheWrstScrnNmEv's avatar
TheWrstScrnNmEv
Honored Guest
5 years ago

GetControllerBatteryPercentRemaining for Quest always returns 0

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

Replies have been turned off for this discussion
  • Looks like it is somewhat working, although I do get 0's back for both controllers from time to time still.
  • 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)