Commit graph

54 commits

Author SHA1 Message Date
Matti Viljanen
c0b7c4ddce
Invert the charge current if necessary, assume the value always changes 2022-08-10 00:35:43 +03:00
Matti Viljanen
31c709435b
Rename internal logging functions for clarity
I still got them mixed up all the time... Low, Medium, High it is!
2022-08-10 00:35:43 +03:00
Matti Viljanen
c9788b3500
Loop through system files, add initial Jolla Tablet support 2022-08-07 22:42:29 +03:00
Matti Viljanen
10095a41e9
Drop compatibility for SFOS versions 4.2 and older 2022-03-20 19:37:47 +02:00
Matti Viljanen
94cdf4bc05
Enable sandboxing 2022-03-20 19:28:16 +02:00
Matti Viljanen
1eeb95cda6
Replace custom process.h with QML DBusInterface 2022-03-20 19:26:57 +02:00
Matti Viljanen
a417c6f5f6
Make service binary leaner 2022-03-19 22:49:05 +02:00
Matti Viljanen
5627c5fc47 Implement BackgroundActivity-based timers 2021-07-25 20:54:27 +03:00
Matti Viljanen
74717738d8 Fix legacy builds 2021-05-23 16:23:54 +03:00
Matti Viljanen
a7d83df085 Fix the missing stuff from broken merge
How did this even happen?
2021-05-23 15:45:03 +03:00
Matti Viljanen
c9d4642de8 Merge branch 'health' 2021-05-23 15:24:21 +03:00
Matti Viljanen
f0dd0e5018 Better handle non-existent files 2021-05-23 14:26:42 +03:00
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
44fc44be43 Revert "Merge pull request #40 from nephros/health", continue work in branch health
This reverts commit 4a535edd59, reversing
changes made to 54cbd89efa.
2021-05-02 13:46:40 +03: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