Search Issue Tracker

Fixed

Fixed in 2020.3.45f1, 2021.3.17f1, 2022.2.3f1, 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

  1. Resolution Note (fix version 2022.2.3f1):

    Verified the fix has landed in 2022.2.4f1 with Rocky Linux 8.6

  2. Resolution Note (fix version 2021.3.17f1):

    Verified the fix has landed to 2021.3.17f1 with Rocky Linux 8.6

  3. Resolution Note (fix version 2020.3.45f1):

    Verified the fix has landed to 2020.3.45f1 (0fb7bed21b30) with Rocky Linux 8.6

Add comment

Log in to post comment