Commit Graph

8 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 259afcf567
Bumped version number 2020-08-12 23:29:55 +02:00
Lucien Cartier-Tilet 76764a88ce
Clearer code 2020-08-12 23:26:35 +02:00
Lucien Cartier-Tilet 4e2acb9682
Remove crate time
What the crate `time' did was simple enough to rewrite it easily
2020-08-11 18:26:40 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 5065c61e92
Better declaration of PumoPM’s arguments, add verbosity parameter 2020-08-10 19:57:40 +02:00
Lucien Cartier-Tilet 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
Lucien Cartier-Tilet 94d55e5d3a
initial commit 2020-08-10 18:26:41 +02:00