On Tue, 30 Apr 2024 15:01:43 +0200, "Nathaniel Griswold" <n...@fastmail.com> wrote: > > My serperf seems to be at a consistent zero in my idle tests which makes > me think the patch may not help my idle tests much, but may help actual > usage. >
In my personal use case it allows to win near 30 minutes of battery life. As example I've picked two morning when I haven't run anything heavy like calls in zoom. Without powersaving: Apr 27 10:13:42 matebook apmd: system resumed from sleep Apr 27 10:13:42 matebook apmd: battery status: high. external power status: not connected. estimated battery life 100% (1130 minutes life time estimate) Apr 27 11:27:52 matebook apmd: battery status: low. external power status: not connected. estimated battery life 50% (65 minutes life time estimate) Apr 27 12:24:12 matebook apmd: battery status: CRITICAL. external power status: not connected. estimated battery life 15% (20 minutes life time estimate) after 1h 14m I had left 50% of battery, and aftre 2h 11m had 15%. With powersaving: Apr 30 11:07:21 matebook apmd: system resumed from sleep Apr 30 11:07:21 matebook apmd: battery status: high. external power status: not connected. estimated battery life 100% (2506 minutes life time estimate) Apr 30 12:46:12 matebook apmd: battery status: low. external power status: not connected. estimated battery life 50% (111 minutes life time estimate) Apr 30 13:56:00 matebook apmd: battery status: CRITICAL. external power status: not connected. estimated battery life 15% (32 minutes life time estimate) after 1h 29m I had left 50% of battery, and after 2h 39m had 15%. So, this patch allows to run the same machine on the same usage longer with some performance penalty which seems quite fair. -- wbr, Kirill