mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
Merge pull request #312 from goose121/patch-1
Use absolute value of current_now
This commit is contained in:
commit
176e770339
|
|
@ -209,7 +209,7 @@
|
|||
(sysfs-int-field path "charge_now")))
|
||||
(consumption ()
|
||||
(or (sysfs-int-field path "power_now")
|
||||
(sysfs-int-field path "current_now")))
|
||||
(abs (sysfs-int-field path "current_now"))))
|
||||
(capacity-native ()
|
||||
(sysfs-int-field path "capacity"))
|
||||
(capacity-calculate ()
|
||||
|
|
|
|||
Loading…
Reference in a new issue