Michael Carlberg
|
22b93a1167
|
fix(battery): Use full namespace
|
2016-12-31 07:32:57 +01:00 |
|
Michael Carlberg
|
ad0af86a7b
|
refactor(battery): Abstract value readers
Refs #263, #245
|
2016-12-31 04:20:48 +01:00 |
|
Michael Carlberg
|
78bb3695e6
|
refactor(config): Deduce return type from default value
|
2016-12-30 23:32:05 +01:00 |
|
Michael Carlberg
|
24aba14541
|
fix(battery): Safety check
Refs #269
|
2016-12-24 05:29:12 +01:00 |
|
Michael Carlberg
|
bc9b9f0d12
|
refactor: Cleanup
|
2016-12-21 23:22:02 +01:00 |
|
Michael Carlberg
|
788a7ca3a3
|
refactor(modules): Get rid of .inl files
|
2016-12-21 09:21:35 +01:00 |
|
Michael Carlberg
|
7979f5b3d4
|
refactor(modules): Handle events using signal_receiver
|
2016-12-21 08:38:44 +01:00 |
|
Michael Carlberg
|
c01f111e34
|
refactor(modules): Move setup to constructor
|
2016-12-21 08:00:09 +01:00 |
|
Michael Carlberg
|
a89c4ef2dd
|
refactor: Move all event handling to the controller
|
2016-12-20 05:16:04 +01:00 |
|
Michael Carlberg
|
09ea07b750
|
refactor(battery): Use charge_{now,full} to calculate percentage
|
2016-12-16 09:58:54 +01:00 |
|
Michael Carlberg
|
ff9be848c7
|
refactor(clang-tidy): Apply fixes
|
2016-11-25 21:58:49 +01:00 |
|
Michael Carlberg
|
c1162960cc
|
fix(battery): Try several value files
Fixes #177
|
2016-11-21 08:30:25 +01:00 |
|
Michael Carlberg
|
c6d85b2b92
|
refactor: Optimize build
|
2016-11-20 23:04:31 +01:00 |
|
Michael Carlberg
|
88c8bbd940
|
refactor: Fwd declare drawtypes
Ref #164
|
2016-11-19 15:49:06 +01:00 |
|
Michael Carlberg
|
38f9ba81cd
|
feat(battery): Estimated time remaining
Adds a new token %time% that will display an
estimate of the remaining time until fully
charged/discharged
|
2016-11-19 15:42:31 +01:00 |
|
Michael Carlberg
|
489d429644
|
refactor(ci): Split into scripts
|
2016-11-19 12:23:02 +01:00 |
|
Michael Carlberg
|
fd57ab0f3d
|
fix: project rename
|
2016-11-19 06:26:07 +01:00 |
|
Michael Carlberg
|
a1472dfd0f
|
refactor(battery): Poll values by default
Fixes jaagr/lemonbuddy#140
|
2016-11-03 15:21:46 +01:00 |
|
Michael Carlberg
|
52c08675e6
|
fix(battery): Ignore the fake inotify event
Assume fake event if polling flag is set.
Fixes jaagr/lemonbuddy#140
|
2016-11-03 14:40:12 +01:00 |
|
Michael Carlberg
|
af2289e397
|
fix(battery): Poll until real inotify event occurs
Fixes jaagr/lemonbuddy#140
|
2016-11-03 12:56:35 +01:00 |
|
Michael Carlberg
|
e7cb345cec
|
wip: Separate source from definitions
|
2016-11-03 12:54:32 +01:00 |
|
Michael Carlberg
|
d359ab6057
|
refactor: Application rewrite
|
2016-10-10 14:52:57 +02:00 |
|
Michael Carlberg
|
8caa95de7f
|
fix: Initialize token labels in constructor
|
2016-06-22 19:07:57 +02:00 |
|
Michael Carlberg
|
5f0a90722a
|
fix(battery): Replace debug message with trace
|
2016-06-21 07:50:05 +02:00 |
|
Michael Carlberg
|
89ea8d9146
|
fix(battery): Store paths
|
2016-06-21 04:38:01 +02:00 |
|
Michael Carlberg
|
e1f8c001dd
|
refactor: Pass by value
|
2016-06-21 04:23:23 +02:00 |
|
Michael Carlberg
|
ec92ac91ab
|
feat(core): Custom thread sleep
Makes it possible to manually wake up sleeping threads
|
2016-06-20 22:11:58 +02:00 |
|
Michael Carlberg
|
ea15f4a5de
|
fix(battery): Prevent broadcast if values are unchanged
|
2016-06-14 05:24:56 +02:00 |
|
Michael Carlberg
|
39d3f61497
|
refactor(core): Clean-up
- use "#pragma once" instead of the regular include guard
- fix errors and warnings reported by cppcheck
|
2016-06-02 01:32:06 +02:00 |
|
Michael Carlberg
|
f1e7991279
|
fix(battery): Check file existance
|
2016-06-01 16:06:36 +02:00 |
|
Michael Carlberg
|
688ca94658
|
fix(battery): Remove pointless lock
|
2016-05-31 15:51:48 +02:00 |
|
Michael Carlberg
|
260519ec55
|
fix(battery): Better safety checks
|
2016-05-31 15:40:17 +02:00 |
|
Michael Carlberg
|
de1d5f3f4a
|
fix(battery): Make it possible to disable polling
|
2016-05-31 03:05:09 +02:00 |
|
Michael Carlberg
|
4a6a36f08f
|
fix(battery): Poll capacity level
Some distros doesn't report any inotify event's for
the filesystem where the battery capacity file is located.
Resort to polling for now...
|
2016-05-31 02:55:08 +02:00 |
|
Michael Carlberg
|
23b2cc69dd
|
fix(battery): Proper handling of charge animation
Closes jaagr/lemonbuddy#3
|
2016-05-26 11:50:01 +02:00 |
|
Michael Carlberg
|
eeefb3c610
|
init(git): Base commit
|
2016-05-19 20:23:45 +02:00 |
|