1
Fork 0
mirror of https://github.com/RGBCube/watt synced 2026-01-13 16:51:05 +00:00
Commit graph

185 commits

Author SHA1 Message Date
841ea830c6
system: trim prefixes properly when scanning labels 2025-06-05 15:44:08 +03:00
3e235c089b
daemon: merge cpu deltas 2025-06-05 00:09:41 +03:00
0e8b40227b
config: rename rule condition field 2025-06-04 23:50:21 +03:00
2c154cd589
expr: strict eval 2025-06-04 23:45:37 +03:00
917ed77255
config: fix serde 2025-06-04 21:51:34 +03:00
b6dd9e78d4
package: make multicall 2025-06-04 21:51:34 +03:00
a25ae59bde
package: rename to watt 2025-06-04 21:51:34 +03:00
008e05b726
cpu: use only recent cpu log entries for calculating volatility 2025-06-04 21:51:34 +03:00
7503e235a3
daemon: add eval 2025-06-04 21:51:34 +03:00
c2325fa5ed
daemon: set charging 2025-06-04 21:51:34 +03:00
1283e5be14
delete core.rs 2025-06-04 21:51:34 +03:00
ee7ea6b86d
cpu: add cpu info scanning 2025-06-04 21:51:34 +03:00
303a84479c
system: cpu temperatures scanning 2025-06-04 21:51:34 +03:00
421d4aaacc
cpu: wip temperature scanning, waiting for raf to stand up from his desk and open his laptop on the other side of the room 2025-06-04 21:51:34 +03:00
fd3ae29dc5
cpu: cache /proc/stat 2025-06-04 21:51:34 +03:00
2812baa77b
system: check for chassis type 31 and move power saving check below
Co-Authored-By: flashrun24 <flashrun42@gmail.com>
2025-06-04 21:51:34 +03:00
a343e38d95
system: is_ac 2025-06-04 21:51:34 +03:00
004b879672
power_supply: add more stuff and store them 2025-06-04 21:51:34 +03:00
4763b54c97
cpu: add usage percent 2025-06-04 21:51:34 +03:00
571f172cc2
cpu: add global turbo querying 2025-06-04 21:51:34 +03:00
07ca582760
cpu: set_ep{p,b} actually sets the attributes now 2025-06-04 21:51:34 +03:00
99feb831a8
cpu: store EPP and EPB 2025-06-04 21:51:34 +03:00
961d1dfcd7
cpu: store governor and available governors 2025-06-04 21:51:34 +03:00
d87237165b
cpu: store frequency 2025-06-04 21:51:34 +03:00
230967832b
monitor: delete old code 2025-06-04 21:51:34 +03:00
a514f1ba7a
main: use yansi::whenever 2025-06-04 21:51:34 +03:00
058ef997c6
cpu: add TODO 2025-06-04 21:51:34 +03:00
1ab9aceced
cpu: cpu times 2025-06-04 21:51:34 +03:00
137f801d2b
cpu&power: add more attributes 2025-06-04 21:51:34 +03:00
543e5a052e
fs: fix read() typesig 2025-06-04 21:51:34 +03:00
91cef3b8b1
cpu&power: share fs impls 2025-06-04 21:51:34 +03:00
c062327457
daemon: delete some old code and create daemon scaffold 2025-06-04 21:51:34 +03:00
4fa59b7ed4
daemon: implement polling_interval 2025-06-04 21:51:34 +03:00
606cedb68a
daemon: wip new impl 2025-06-04 21:51:34 +03:00
0de8105432
config: better more enhanched expression 2025-06-04 21:51:34 +03:00
f3813230c5
power_supply&cpu: kolor 2025-06-04 21:51:34 +03:00
b6d4e09c7f
power_supply&cpu: somewhat improve error messages 2025-06-04 21:51:34 +03:00
ca4b1dbc92
main: move application to deltas, comment out broken modules for now 2025-06-04 21:51:34 +03:00
c073b640dc
config: fix schema, toml does not have top level lists 2025-06-04 21:51:34 +03:00
0d3a88be03
config: nuke old config and implement a new system 2025-06-04 21:51:34 +03:00
2995909544
power_supply: rename is_battery to get_type and don't compare the type 2025-06-04 21:51:34 +03:00
2704379b42
power_supply: add derives to PowerSupply 2025-06-04 21:51:34 +03:00
0ed0f18bb3
main: delete historical logging code 2025-06-04 21:51:34 +03:00
a14d88cee7
wip unsound broken malfunctioning changes to make it compile 2025-06-04 21:51:34 +03:00
004e8e2a9c
cpu: impl Display for Cpu 2025-06-04 21:51:34 +03:00
6ef4da9113
power_supply&cpu: use objects 2025-06-04 21:51:34 +03:00
6377480312
power_supply: don't ignore non-batteries 2025-06-04 21:51:34 +03:00
baef8af981
cli: remove governor_persist 2025-06-04 21:51:34 +03:00
d0932ae78c
battery: clean up, rename to power_supply 2025-06-04 21:51:34 +03:00
87085f913b
cpu: clean up, clean main too 2025-06-04 21:51:34 +03:00