Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

status "plugged" is not detected

Open name-snrl opened this issue 2 years ago • 1 comments

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.

name-snrl avatar May 18 '22 08:05 name-snrl

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.

clownhelmet avatar Jun 25 '22 20:06 clownhelmet

bump

dtk9289 avatar Sep 30 '22 23:09 dtk9289

Should be fixed with #1679

Alexays avatar Oct 27 '22 07:10 Alexays