mirror of
https://github.com/AppHouseKitchen/AlDente-Battery_Care_and_Monitoring.git
synced 2026-03-24 18:31:47 +01:00
[Feature Request]Would it be possible to have maximum charge % respond to an external app? #295
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DamonHD on GitHub (Nov 7, 2021).
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 .
@MatthiasKerbl commented on GitHub (Nov 8, 2021):
Hi @DamonHD,
This looks very interesting as well. We will also discuss it and I will come back to you.
Cheers,
Matthias
@DamonHD commented on GitHub (Aug 2, 2022):
See https://twitter.com/andysc/status/1554378086459785217
@MatthiasKerbl commented on GitHub (Sep 1, 2022):
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