AlDente-Charge-Limiter icon indicating copy to clipboard operation
AlDente-Charge-Limiter copied to clipboard

Add Low Power Mode Button to Menu Bar Widget

Open ovq opened this issue 2 years ago • 6 comments

The subject says it all. It would be nice to be able to toggle low-power mode via the AlDente menu bar.

ovq avatar Feb 12 '22 08:02 ovq

Hi @ovq,

Good idea but I do not know if it is possible for third-party apps to alter these settings. We will look into this.

Cheers, Matthias

MatthiasKerbl avatar Feb 25 '22 10:02 MatthiasKerbl

but I do not know if it is possible for third-party apps to alter these settings.

I think it can be done from pmset So at least it can be done if there isn't a direct API.

arm64 andrew@Andrews-MBP ~ % pmset -g  

System-wide power settings:
 SleepDisabled		1
Currently in use:
 standby              1
 Sleep On Power Button 1
 hibernatefile        /var/vm/sleepimage
 powernap             1
 networkoversleep     0
 disksleep            10
 sleep                1 (sleep prevented by bluetoothd, com.bombich.ccchelper, com.bombich.ccchelper, powerd, sharingd, com.apphousekitchen.aldente-pro)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         10 (display sleep prevented by com.apphousekitchen.aldente-pro)
 tcpkeepalive         1
 **lowpowermode         0**
 womp                 1

andrewcrook avatar Mar 19 '22 11:03 andrewcrook

Rather than on and off Perhaps the feature should turn on automatically when battery life reaches a certain percentage set by the user?

andrewcrook avatar Mar 19 '22 11:03 andrewcrook

+1 on this. I'd prefer an on-off switch, since I typically have it on at all times unless I notice my performance lagging.

basmets6 avatar Apr 17 '22 23:04 basmets6

@basmets6 Yes I can see that being useful as well.

Both options then

  1. manual
  2. automatic

andrewcrook avatar Apr 18 '22 11:04 andrewcrook

And I'd like low-power mode automatically engaged when any grid-friendly features are switched on.

BTW, in a brief since test on my MBA M1, typical draw from mains adaptor with an editor prompt open and a little bit of other activity was about 4.9W dropping to about 4.2W with low-power mode on, so a useful 15%/0.7W saving in that case.

http://www.earth.org.uk/Hey-Siri-Help-Flatten-The-Duck.html#Measured

Rgds

Damon

DamonHD avatar Jun 29 '22 08:06 DamonHD