On Sun, 15 Mar 2026 01:29:12 -0700 (PDT)
ahmad raniri <
ranir...@gmail.com> wrote:
> > > energy_full
> > > energy_now
>
> energy_full : 69776000
> energy_now : 45178000
You didn't provided /sys/class/power_supply/BAT0/capacity, which
should have percentage of the battery. By those two (energy_full and
energy_now) it seems you have battery percentage around 64%, the
equation here is:
(energy_now/energy_full) * 100
Also check the /sys/class/power_supply/BAT0/status if battery is
charging or not.
On my laptop /sys/class/power_supply/BAT0/status contain "Not
charging" (as it's fully charged),
/sys/class/power_supply/BAT0/energy_full is 55960000,
/sys/class/power_supply/BAT0/energy_now is 53750000, which gives
96.05%, and /sys/class/power_supply/BAT0/capacity is 96, which align
with the calculated value. As you can see on attachment, wmacpi is
displaying exactly this.
--
-^- _ something is grinding the emptiness:
_ /O)_\// Soijl - Weapon Of Primordial Chaos
(_(|__(_(_) grf.