[SystemInfo] Battery at 0
See original GitHub issueI’m on a relatively old laptop running Debian 8.6.0 32-bit headless and OH2 beta. Running cat /sys/class/power_supply/BAT0/capacity gives me 98, but the SystemInfo binding always gives me 0.0. Are then any options or packages that I’m missing? I am running headless, so I’m possibly missing some monitoring/GUI libraries or CLI tools. All of the other SystemInfo channels work fine.
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (4 by maintainers)
Top Results From Across the Web
Scripting API: SystemInfo.batteryLevel - Unity - Manual
The current level of the battery, represented as a float between 0 and 1. If the battery level is not available on your...
Read more >01 Minute until fully charged... With 0% charge
If your battery isnâ€:tm:t fully charging, the first thing you can try is the Battery troubleshooter in Windows 10. ... Complete the wizard...
Read more >Battery status level - Unity Forum
Hi. Please help me. How to read battery status on android ? ... Log("Battery level: " + device. ... batteryLevel >= 0.61f &&...
Read more >Systeminfo [ERROR] No information for channel battery ...
have installed Systeminfo Binding now I have errors and can not fix them . I do not use battery information at all
Read more >BatteryInfoView - View battery information on laptops / netbooks
Updated the tray icon tooltip to display information of multiple batteries. Version 1.23: Changed the 'Battery Wear Level' caption to 'Battery Health', which...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ll get this fixed along with many other things in the last week of the year.
cc @dbwiddis