Move all of the argon40 scripts to archive... these scripts should not
be used as is, they are simply copies of the originals so I can track
changes to see if there is anything important that needs to be
transfered to the battery driver.
Worked once, will not work again. Build occurs, dkms reports that the
build of ./src/oneUpPower.ko failed. Kernel module is being generated,
but not located anywhere it can be found.
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.
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.