Commit Graph

7 Commits

Author SHA1 Message Date
Jeff Curless
804d056f83 Add support to change the shutdown threshold.
The default value for shutdown is less than 5% of battery life left.
Once the system hits this value (or the one specified by the user) the
system will shutdown.

The soc_shutdown value can be changed to 0 to disable this feature, just
realise that the system will lose power and unsafely shutdown.

Also added install and remove functionality.
2025-11-01 17:12:22 -04:00
Jeff Curless
3c4b7e0b5e Add support for trixie.
Apparently things start differently with trixie, so modified the system
monitor code to keep trying to allocate the resources it needs (and
adapter and a client to the i2c bus).  This mades the code work,
and startup is not affected.
2025-10-28 20:07:26 -04:00
Jeff Curless
2b01bb114e Minor changes code still working 2025-10-06 21:03:11 -04:00
Jeff Curless
22c6bf718f Attempting to build on Trixie with older headers 2025-10-06 09:01:20 -04:00
Jeff Curless
ea8b374b84 Test driver works with dummy info.
Clean up the code, and start modifiying the argon python code to work in
C, then port to the driver.
2025-10-05 20:53:51 -04:00
Jeff Curless
3a2c8cbe49 Try to see what requests are being made...
:
2025-10-05 17:04:07 -04:00
Jeff Curless
512929ec79 Add an install and remove script 2025-10-05 13:54:59 -04:00