Forum Discussion
PumpkinDev
4 years agoExplorer
How to get Oculus Quest 2 Controller Battery in Unity?
How to get Oculus Quest 2 Controller Battery in Unity?
I am connecting Quest 2 using Oculus Link.
Since it is catchable in official Oculus Software (Image Above), I think it is possibl...
- 4 years ago
you can use adb logcat to get the controller battery status
adb logcat | findstr /C:"serial" /C:"handedness" /C:"battery state"
laurisD
4 years agoProtege
Hello,
Yes of course it is possible, your problem is just the syntax : use SystemInfo.batteryLevel instead of SystemInfo.Battery().
Let me know if it works and mark this post as solution if it works, it would help me 😉
Lauris
- PumpkinDev4 years agoExplorer
Hi, Thanks for reply.
SystemInfo.batteryLevel can't get the controller battery level,
and also can't get the Quest 2 battery level if the application platform is target as windows ?
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