Commit graph

89 commits

Author SHA1 Message Date
Matti Viljanen
0a88ca6692
Fix use of leftover variable 2023-03-05 11:23:41 +02:00
Matti Viljanen
575cc19267
Update copyrights 2023-03-04 15:03:14 +02:00
Matti Viljanen
fdc373cb83
Use const QStringList for storing filenames 2023-03-04 14:42:15 +02:00
nephros
9ab978d47d remove references to PineTab 2023-02-23 16:18:40 +01:00
nephros
cc8d1082a4 [AC] Support USB+AC Charging: service 2023-02-23 16:17:45 +01:00
Matti Viljanen
49d41ba16c
Version bump to v4.2.1-1 2023-01-01 01:11:03 +02:00
Matti Viljanen
c1313dc014
Handle reading and setting max charge value at daemon startup 2023-01-01 00:59:02 +02:00
Matti Viljanen
eba8d91f36
Clean up code 2022-12-31 23:51:05 +02:00
Matti Viljanen
7042751703
Implement max charge current setting 2022-12-31 23:46:23 +02:00
Matti Viljanen
3ca45a54a8
Update copyright years
There has to be a smarter way to this...
2022-08-28 10:36:38 +03:00
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
7603a6d161
Don't try to use non-existent files 2022-08-07 22:48:36 +03:00
Matti Viljanen
4c243e913d
Add to service and log charging/discharging current 2022-08-07 22:48:07 +03:00
Matti Viljanen
c9788b3500
Loop through system files, add initial Jolla Tablet support 2022-08-07 22:42:29 +03:00
Matti Viljanen
8721423029
Remove unused signals 2022-08-07 22:34:52 +03:00
Matti Viljanen
c1576ed44f
Print correct log file name 2022-08-07 22:33:11 +03:00
Matti Viljanen
78555ae3d2
Log temperature changes with resolution of one degree Celsius 2022-03-29 21:05:58 +03:00
Matti Viljanen
10095a41e9
Drop compatibility for SFOS versions 4.2 and older 2022-03-20 19:37:47 +02:00
Matti Viljanen
705cae455f
Don't try to close unopened notifications 2022-03-20 19:17:50 +02:00
Matti Viljanen
a417c6f5f6
Make service binary leaner 2022-03-19 22:49:05 +02:00
Matti Viljanen
b69897a3d8
Save the log to path sandboxed GUI app can access 2022-03-19 21:55:11 +02:00
Matti Viljanen
30cdf710d2 Fix BuildRequires, remove unneeded include 2021-07-25 21:44:04 +03: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
49a59183d2 Switch low battery and general alarm sounds 2021-05-23 15:30:31 +03:00
Matti Viljanen
0c9ef27cc4 Make building for SFOS2 easier 2021-05-23 15:27:26 +03:00
Matti Viljanen
f0dd0e5018 Better handle non-existent files 2021-05-23 14:26:42 +03:00
Matti Viljanen
645d919457 Use separate notification for health/status 2021-05-23 01:15:40 +03:00
Matti Viljanen
d3f1297afd
Use the unknown values in service, too 2021-05-22 23:42:57 +03:00
Peter G. (nephros)
343f0b73c8 Add health and temperature support to service
Preparing and cleaning up for PR:

reword, update German
fix log output units
printf debugging
fix loading config
imperial measurement in notification

for some reason notification does not work on pre-Koli:

  /usr/bin/harbour-batterybuddy-daemon: symbol lookup error: /usr/bin/harbour-batterybuddy-daemon: undefined symbol: _ZN12Notification8setSoundERK7QString
2021-05-10 16:59:41 +02:00
Matti Viljanen
f9768aeeb0
Remove unused code 2021-04-28 22:01:19 +03:00
Matti Viljanen
7ff2c0250d
Don't log translated strings 2021-04-28 22:00:48 +03:00
Matti Viljanen
308f0ae060
Handle saving and loading config more carefully. Fixes #35 2021-04-27 20:13:44 +03:00
Matti Viljanen
ac1e735d26
Close notification early, once only 2021-04-26 17:36:02 +03:00
Matti Viljanen
1a0b730a1c
Fine-tune logging, fix a few messages, fix indentation 2021-04-26 17:34:44 +03:00
Matti Viljanen
afe6850d88
Make the emulator less of a special case 2021-04-26 17:13:11 +03:00
Matti Viljanen
9079c10bd1
Don't log when there is no action. 2021-04-26 17:08:04 +03:00
Matti Viljanen
fa7c24568a
Adjust logged messages 2021-04-24 18:27:37 +03:00
Matti Viljanen
942949226a
Add --logfile option to daemon 2021-04-24 18:14:26 +03:00
Matti Viljanen
f542628e56
Implement log level settings 2021-04-24 17:44:25 +03:00
Matti Viljanen
0d67eb3316
Fix notifications (again), get rid of useless code 2021-04-18 13:55:30 +03:00
Matti Viljanen
5d35057e15
Fine tune logging 2021-04-17 23:42:22 +03:00
Matti Viljanen
f9354eacc3
Add log viewer page, enable logging by default 2021-04-17 23:39:36 +03:00
Matti Viljanen
51d5c8f29d
Fix function return type 2021-04-17 22:18:13 +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
5da67a5a22
Set percentage ranges to 5%...100% 2021-04-10 01:42:08 +03:00