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

[Feature Request]Would it be possible to have maximum charge % respond to an external app?

Open DamonHD opened this issue 2 years ago • 2 comments

Hi,

It would be very useful to have AlDente periodically poll for a specified external file (or URL), and if it exists and contains a single integer between (say) 20 and 100 use that as the charge limit.

That would let me auto-adjust adjust my MacBook Air to play better with my off-grid system, and also with the grid (eg using a lower max charge level when the grid is dirty).

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

I am in the UK and run the live intensity calculator in the second link. I could provide a simple URL for the above scheme that other GB grid users with AlDente could poll every few minutes.

Rgds

Damon

PS See also #445 .

DamonHD avatar Nov 07 '21 18:11 DamonHD

Hi @DamonHD,

This looks very interesting as well. We will also discuss it and I will come back to you.

Cheers, Matthias

MatthiasKerbl avatar Nov 08 '21 09:11 MatthiasKerbl

See https://twitter.com/andysc/status/1554378086459785217

DamonHD avatar Aug 02 '22 08:08 DamonHD

Hi @DamonHD,

Since the release of AlDente 1.18, this should theoretically already be possible through the Shortcuts app. As mentioned in #445 I will close this issue for now and will give updates regarding controlling AlDente through external apps here #637 and #638.

Cheers, Matthias

MatthiasKerbl avatar Sep 01 '22 14:09 MatthiasKerbl