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

battery.status isCharging always shows false #221

Closed
Warlord77 opened this issue Jul 21, 2016 · 1 comment
Closed

battery.status isCharging always shows false #221

Warlord77 opened this issue Jul 21, 2016 · 1 comment

Comments

@Warlord77
Copy link
Contributor

Warlord77 commented Jul 21, 2016

battery.status
{'percentage': 88.0, 'isCharging': False} [when disconnected]
battery.status
{'percentage': 88.0, 'isCharging': False} [when charging]
OS : Ubuntu 16.04 LTS x86_64

@kiok46
Copy link
Contributor

kiok46 commented Jul 21, 2016

It's probably an issue with upower or ubuntu.

In the top it's clear that it's not charging but still down in the terminal it says power supply: yes and also in the Power Statistics: Device Information

Maybe it's because I am using it in virtual box, but the problem is not in the code. (although it should return True as it's always yes.)

screen shot 2016-07-22 at 12 01 09 am

Warlord77 added a commit to Warlord77/plyer that referenced this issue Jul 22, 2016
UPower daemon  does not have a option called power supply instead in "state"  it shows the state weather its charging or not.
akshayaurora added a commit that referenced this issue Jul 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants