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.
Automatically shutdown the system when the battery hits 5% left if the
system is not plugged in. The shutdown does *not* save data, so might
want to look into how to make it save data (or possibly just generate a
warning.
Need to perform code cleanup, and make sure startup of the driver
contains everything it needs to properly verify the status of the
battery.
Could use code to get the voltage etc, however I don't see that code in
the argon40 python stuff so I'd have to investigate the I2C device.