question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SystemInfo] Battery at 0

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:21 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dbwiddiscommented, Dec 5, 2016

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

2reactions
DaAwesomePcommented, Dec 5, 2016
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found