this post was submitted on 09 Feb 2025
59 points (98.4% liked)

Linux

6174 readers
304 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 2 weeks ago

Besides changing the behavior, the other interesting aspect of this is /sys/power/suspend_stats/last_sleep_energy as a new file to expose the amount of energy that the battery consumed during the last sleep cycle. The "last_sleep_energy" is reported in mAh.

I’m surprised this didn’t exist before. I use the report in windows all the time to figure out why my POS laptop died after 20 minutes of being in sleep.