Commit graph

41 commits

Author SHA1 Message Date
Matti Viljanen
e939c2d9ce
Use uint_max as "unknown" placeholder 2021-05-22 23:00:48 +03:00
Matti Viljanen
5c5aa961e7
Default to unknown state 2021-05-22 22:58:05 +03:00
Peter G. (nephros)
91e6cad414 Add several strings for health notification 2021-05-10 16:20:24 +02:00
Peter G. (nephros)
dfbf1ec078 implement settings for health alert 2021-05-02 17:23:14 +02:00
Peter G. (nephros)
93fa677a6f prepare settings for health alert 2021-05-02 16:28:03 +02:00
Matti Viljanen
4a535edd59
Merge pull request #40 from nephros/health
PoC/RfC: read and display battery health and temperature
2021-05-02 13:34:42 +03:00
Peter G. (nephros)
9ef6d73a73 fix suspected copypaste error 2021-05-02 11:57:51 +02:00
Peter G. (nephros)
e5f90a50db add health and temperature reading 2021-05-02 10:23:32 +02:00
Matti Viljanen
308f0ae060
Handle saving and loading config more carefully. Fixes #35 2021-04-27 20:13:44 +03:00
Matti Viljanen
1a0b730a1c
Fine-tune logging, fix a few messages, fix indentation 2021-04-26 17:34:44 +03:00
Matti Viljanen
c6e8145afc
Remove unused code 2021-04-26 17:13:49 +03:00
Matti Viljanen
afe6850d88
Make the emulator less of a special case 2021-04-26 17:13:11 +03:00
Matti Viljanen
fa7c24568a
Adjust logged messages 2021-04-24 18:27:37 +03:00
Matti Viljanen
f542628e56
Implement log level settings 2021-04-24 17:44:25 +03:00
Matti Viljanen
f9354eacc3
Add log viewer page, enable logging by default 2021-04-17 23:39:36 +03:00
Matti Viljanen
e31b791bdb
Remove unused function 2021-04-17 22:14:36 +03:00
Matti Viljanen
f4bf1d0763
Use const keywords and references a lot more 2021-04-17 22:13:57 +03:00
Matti Viljanen
d3132a453d
Replace QDebug with custom Logger 2021-04-17 22:01:19 +03:00
Matti Viljanen
4a885c347d
Don't hard code application name, properly assign object owners, Qt handles delete 2021-04-10 04:08:50 +03:00
Matti Viljanen
1ae74460cf
Don't recreate QSettings 2021-04-10 02:30:41 +03:00
Matti Viljanen
5da67a5a22
Set percentage ranges to 5%...100% 2021-04-10 01:42:08 +03:00
Matti Viljanen
709e384075
Enable debug output when using emulator 2021-04-09 23:28:55 +03:00
Matti Viljanen
787f53216b Enable charging control by default 2021-01-31 21:43:23 +02:00
Matti Viljanen
b94df34839 Remove redundant high/low notification enabled 2020-11-30 22:58:37 +02:00
Matti Viljanen
aea2ef3da2 Implement "Once" and "Never" special time values 2020-11-30 22:41:09 +02:00
Matti Viljanen
f047f421fa Display momentary current value 2020-11-15 22:28:00 +02:00
Matti Viljanen
53f831cee0 Make process start block until process has finished 2020-11-15 22:18:11 +02:00
Matti Viljanen
6c461c57d1
Split high and low notification controls (fixes issue #9) 2020-06-14 19:23:17 +03:00
Matti Viljanen
c9af158062
Let daemon migrate old settings 2020-06-14 18:26:10 +03:00
Matti Viljanen
9054577008
Control the daemon from the UI 2020-06-12 01:19:18 +03:00
Matti Viljanen
b6e62511f0
Update copyrights 2020-04-26 19:06:10 +03:00
Matti Viljanen
55e701122e
Code cleanup 2020-04-26 18:39:27 +03:00
Matti Viljanen
a5d8ae0fa3
Save settings after releasing the sliders 2020-04-26 18:23:35 +03:00
Matti Viljanen
71f8f93223
Fix more startup crashes 2020-04-26 18:20:54 +03:00
Matti Viljanen
30653a1c11
Implement notifications and sounds using the daemon 2020-04-26 18:20:28 +03:00
Matti Viljanen
6191766aa2
Don't change charger status on timer (it's the daemons job) 2020-04-26 11:38:53 +03:00
Matti Viljanen
397b1d77bb
Don't restore charging status on exit (it's the daemons job) 2020-04-26 11:37:19 +03:00
Matti Viljanen
be4e2f335d
Always write changes to disk immediately 2020-04-26 11:34:15 +03:00
Matti Viljanen
1ee2d9e708
Make sure that the same config file is used with the daemon 2020-04-26 11:33:46 +03:00
Matti Viljanen
6beba35d0f
Fix crash on startup 2020-04-26 10:27:51 +03:00
Matti Viljanen
cbf7e7cdbc
Split project into GUI application and CLI service 2020-04-24 11:22:07 +03:00