Commit Graph

12 Commits

Author SHA1 Message Date
348a1ef110 libsysprof: fix use of {0} initializers for older GCC
Older GCC versions complain about this so we might as well squash it.
2020-02-20 11:08:21 -08:00
47337e6c4b add combined battery counter
this is useful for situations where we have multiple batteries inserted
and we might only care about total charge
2019-06-24 10:01:27 -07:00
4792a43887 add rate for charge type 2019-06-24 08:58:16 -07:00
c46ac1374b battery: fix battery type in new func 2019-06-13 20:23:03 -07:00
1726a8983f battery: do final poll at stop() time 2019-06-13 20:18:52 -07:00
a5ef58dde6 battery: wait for first battery polling 2019-06-13 20:14:18 -07:00
2ef74062e9 battery: poll batteries immediately after starting 2019-06-13 19:39:16 -07:00
3299c0d41c battery: style cleanup 2019-06-13 19:37:33 -07:00
555a10ef65 battery: only submit event if battery value changed 2019-06-13 19:04:11 -07:00
416d0383f2 battery: fix typo 2019-06-12 16:30:17 -07:00
19c2791198 build: fix build on Debian 9 2019-06-11 09:48:41 -07:00
1d0a269b80 libsysprof: start on battery charge capture 2019-06-10 21:32:12 -07:00