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

status "plugged" is not detected #1560

Closed
name-snrl opened this issue May 18, 2022 · 4 comments
Closed

status "plugged" is not detected #1560

name-snrl opened this issue May 18, 2022 · 4 comments

Comments

@name-snrl
Copy link

I want to see when my laptop plugged. A similar issue is described in #253.
My device is a Thinkpad t440s with NixOS unstable on board. I use tlp to set charging thresholds

Untitled

I also tried using "format-plugged" but nothing changed.

@clownhelmet
Copy link

clownhelmet commented Jun 25, 2022

Same issue here. I'm not using TLP but it seems it uses the same interface /sys/class/power_supply/BAT0/charge_control_end_threshold.

cat /sys/class/power_supply/BAT0/status Not charging

cat /sys/class/power_supply/AC0/online 1

If the battery is at the threshold percentage when I unplug, it shows the plugged format when I plug the battery back in and the status is 'Discharging'. However, a few seconds later when the status switches to 'Not charging', it stops showing the plugged format.

@dtk9289
Copy link

dtk9289 commented Sep 30, 2022

bump

@Alexays
Copy link
Owner

Alexays commented Oct 27, 2022

Should be fixed with #1679

@geogiraux
Copy link

hi, sorry to make this "revive" but I have the same problem with waybar 0.11.0. Could @clownhelmet or @name-snrl confirm it is solved please ? If it's ok for you I will fill a new issue and provide my own informations

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

5 participants