Forum Discussion
ynkfish
1 year agoProtege
Programmatically get controller battery levels and status
Hi,
Is there a way to programmatically get a Quest's controller battery levels?
Preferrable with a native android library/SDK.
We would like to be able to monitor battery levels in our XR platform.
With ADB it is possible to retrieve this info, but there is no way to execute ADB commands from a non system app.
E.g.
adb shell "dumpsys OVRRemoteService | grep Paired"
Paired device: <redacted>, Type: Right, Firmware: 1.9.0, ImuModel: ICM42686, Battery: 60%, Status: Disabled, ExternalStatus: DISABLED, TrackingStatus: POSITION, BrightnessLevel: GOOD
Paired device: <redacted>, Type: Left, Firmware: 1.9.0, ImuModel: ICM42686, Battery: 60%, Status: Disabled, ExternalStatus: DISABLED, TrackingStatus: POSITION, BrightnessLevel: GOOD
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 2 years ago
- 3 years ago