Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Raspbian] battery.percent doesn't work #1964

Open
ARyOtaRe opened this issue Jul 2, 2021 · 0 comments
Open

[Raspbian] battery.percent doesn't work #1964

ARyOtaRe opened this issue Jul 2, 2021 · 0 comments

Comments

@ARyOtaRe
Copy link

ARyOtaRe commented Jul 2, 2021

Summary

  • OS: {Raspbian]
  • Architecture: {32bit]
  • Psutil version: {5.8.0]
  • Python version: {3.8.0]
  • Type: { core, doc, performance, scripts, tests, wheels, new-api, installation }

Description

{{{

  batry=("charge = %s%%, time left = %s" % (battery.percent, secs2hours(battery.secsleft)))
AttributeError: 'NoneType' object has no attribute 'percent'``` where it is mentioned in the docs that it is this way
}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant