Search Issue Tracker
Fixed in 2020.3.45f1
Fixed in 2020.3.X, 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a25
Votes
0
Found in
2020.3.40f1
2021.3.11f1
2022.1.19f1
2022.2.0b9
2023.1.0a13
Issue ID
UUM-16083
Regression
No
[Linux] SystemInfo.batteryStatus/SystemInfo.batteryLevel doesn't work on a Linux Laptop
Reproduction steps:
1. Open the attached “IN-17634.zip” project
2. Open the “Assets/Scenes/SampleScene.unity
3. Enter Play Mode
4. Observe Console Window
Expected result: SystemInfo.batteryStatus and SystemInfo.batteryLevel returns laptop battery data
Actual result: SystemInfo.batteryStatus returns Unknown and SystemInfo.batteryLevel returns -1
Reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.19f1, 2022.2.0b9, 2023.1.0a13
Reproducible on: Ubuntu 20.0.4
Not reproducible on: Windows 11 Pro 21H2
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2022.2):
Verified the fix has landed in 2022.2.4f1 with Rocky Linux 8.6
Resolution Note (fix version 2021.3):
Verified the fix has landed to 2021.3.17f1 with Rocky Linux 8.6
Resolution Note (fix version 2020.3):
Verified the fix has landed to 2020.3.45f1 (0fb7bed21b30) with Rocky Linux 8.6