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

Linux

8467 readers
757 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments

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.