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

[Linux] Get laptop charging speed (in Watts) #2393

Open
nschloe opened this issue Apr 2, 2024 · 0 comments
Open

[Linux] Get laptop charging speed (in Watts) #2393

nschloe opened this issue Apr 2, 2024 · 0 comments

Comments

@nschloe
Copy link

nschloe commented Apr 2, 2024

When charging my laptop, I'd love to know how fast it goes (in Watt). This tells me if I I'm fast-charging or if my cable/charger isn't very good.

Right now, I use to command-line call

upower -i /org/freedesktop/UPower/devices/battery_BAT0

to get

[...]
   energy-rate:         10,55 W
[...]

(Not very fast at all.)

The value can also be retrieved via

/sys/class/power_supply/BAT0/power_now

(Given in microwatts.)

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