4cf1ae41b7
Clearer code
2020-08-12 23:19:37 +02:00
4e2acb9682
Remove crate time
...
What the crate `time' did was simple enough to rewrite it easily
2020-08-11 18:26:40 +02:00
10d6c57128
Bring PumoPM to a working state
...
PumoPM successfuly runs now, displays a notification on low battery,
warning on very low battery, and suspends the computer on critical
battery level.
2020-08-11 18:06:06 +02:00
7125d483fa
Make levels safer
...
It is now impossible to have any level set to something below 5% of
the battery and above 50%. If a lower level is set higher than its
higher level, the program will attempt to lower the level by 1%
without going under 5%.
2020-08-10 20:29:49 +02:00
5065c61e92
Better declaration of PumoPM’s arguments, add verbosity parameter
2020-08-10 19:57:40 +02:00
a49c88a7c6
Add default state and command-line arguments
...
It is now possible to manually set the different levels with
command-line arguments.
2020-08-10 19:28:53 +02:00
94d55e5d3a
initial commit
2020-08-10 18:26:41 +02:00