raidzero
|
93c425fdfe
|
Add battery usage/charge in watts token %consumption%
|
2017-02-16 14:35:43 -07:00 |
|
Michael Carlberg
|
ad0af86a7b
|
refactor(battery): Abstract value readers
Refs #263, #245
|
2016-12-31 04:20:48 +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
|
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
|
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
|
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
|
f83dbf19b1
|
fix(battery): Poll thread requires running module
Closes jaagr/lemonbuddy#140
|
2016-11-02 18:38:13 +01:00 |
|
Michael Carlberg
|
36d4ee0e67
|
refactor(battery): Cleanup
|
2016-10-30 18:47:01 +01:00 |
|
Michael Carlberg
|
1075144b00
|
refactor(eventloop): Use concurrent queue for events
Events are now enqueued using a thread safe concurrent queue
which makes the previous eventloop locking redundant.
|
2016-10-29 06:48:51 +02:00 |
|
Michael Carlberg
|
d2187f44e0
|
refactor(drawtypes): Cleanup and fixes
|
2016-10-25 07:10:05 +02:00 |
|
Michael Carlberg
|
1c882508ec
|
fix: Drop superflous prefix when throwing module_error
|
2016-10-19 02:15:52 +02:00 |
|
Michael Carlberg
|
68f72d69cc
|
refactor: Drop tokenized labels
Handle placeholder tokens inside each label
instead of cloning into a new instance each time
|
2016-10-19 01:31:17 +02:00 |
|
Michael Carlberg
|
2af0d0845d
|
fix(docs): Updated README and configs
Use dash instead of underscore as parameter name separator
Will break alot of configs but people like to work!
|
2016-10-12 05:19:31 +02:00 |
|
Michael Carlberg
|
d359ab6057
|
refactor: Application rewrite
|
2016-10-10 14:52:57 +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
|
2c74cb06de
|
task(dsl): Replace colons with dashes
Colons break ini syntax highlighters and linters.
|
2016-06-11 07:49:14 +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
|
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 |
|