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
raf
da07011b02
Merge pull request #35 from spikespaz-contrib/u/jacob/flake-output-overlays
...
flake: add superfreq and default pkgs to overlay
2025-05-31 23:13:51 +03:00
Jacob Birkett
0f3d5d81dd
flake: devShells: use same pkgs as for packages output
2025-05-31 13:11:25 -07:00
raf
71cd443ba7
Merge pull request #34 from spikespaz-contrib/u/jacob/flake-formatter-alejandra
...
flake: formatter: set to alejandra
2025-05-31 22:54:03 +03:00
Jacob Birkett
3caaa22f3e
flake: packages: inherit from default overlay
2025-05-31 12:46:22 -07:00
Jacob Birkett
08c51b6296
flake: overlays: add superfreq and default
2025-05-31 12:46:22 -07:00
Jacob Birkett
6b1af5cbab
flake: pkgsForEach: replace legacyPackages with manual import
2025-05-31 12:46:22 -07:00
Jacob Birkett
7b375439bb
flake: formatter: set to alejandra
2025-05-31 12:19:50 -07:00
raf
017793288a
Merge pull request #32 from NotAShelf/systems-input
...
flake: add aarch64-linux to systems
2025-05-21 15:53:08 +03:00
Bloxx12
55e04ea09e
flake: add aarch64-linux to systems
2025-05-21 14:36:24 +02:00
raf
6bdbc7e0ec
debug: use jiff instead of chrono ( #30 )
2025-05-18 17:32:29 +03:00
bbe0d9dfd3
debug: use jiff instead of chrono
2025-05-18 17:19:59 +03:00
NotAShelf
f88f92fbda
chore: v0.3.2
2025-05-18 16:01:24 +03:00
raf
8e3a87cb04
Merge pull request #28 from NotAShelf/optimize-daemon
...
daemon: optimize
2025-05-18 16:03:15 +03:00
NotAShelf
32422f2b4f
treewide: streamline error handling; leverage thiserror and anyhow
2025-05-18 15:45:19 +03:00
NotAShelf
99fbfc0ea7
daemon: use internal error types
2025-05-18 14:26:42 +03:00
NotAShelf
38960ce8bc
daemon: don't store unused fields
2025-05-18 14:18:18 +03:00
NotAShelf
747362b88b
daemon: replace debug_assert
with an actual error
2025-05-18 13:38:33 +03:00
NotAShelf
58273d89f4
daemon: get rid of config hot-reloading
2025-05-18 13:27:18 +03:00
NotAShelf
ee5bd8f80f
daemon: handle invalid config values gracefully
2025-05-18 12:20:19 +03:00
NotAShelf
fe93a50f9e
treewide: suppress clippy lint about Error
suffix
2025-05-18 11:23:37 +03:00
NotAShelf
63cab6e631
daemon: clean up weighted average calculation
2025-05-18 08:36:51 +03:00
NotAShelf
2efc0e1a6b
daemon: use u128 arithmetic to prevent overflow in polling interval calc
...
Overflows are unlikely to happen, but easy to prevent. Let's fix it while we're at it.
2025-05-18 08:27:53 +03:00
NotAShelf
34862b28e1
daemon: enforce >= 1s minimum interval in clamping
2025-05-18 08:11:46 +03:00
NotAShelf
8c462868b6
daemon: use abs_diff
to remove lossy casts
2025-05-18 07:52:32 +03:00
NotAShelf
ad70a85426
daemon: use integer arithmetic to avoid precision loss
2025-05-18 07:43:01 +03:00
NotAShelf
984793d445
daemon: historical interval blending
2025-05-18 07:28:07 +03:00
NotAShelf
6e2d5b33f9
nix: also link superfreq config to /etc
2025-05-18 06:43:51 +03:00
NotAShelf
59d234e3ce
ci: copy assets properly
2025-05-18 06:17:49 +03:00
NotAShelf
094a370422
chore: v0.3.1
2025-05-18 06:07:44 +03:00
raf
8050f91aa8
Merge pull request #27 from NotAShelf/fix-auto-turbo
...
engine: fix race condition in turbo state init
2025-05-18 06:08:00 +03:00
NotAShelf
64bebe9f47
config: simplify default value functions
...
Create a macro that generates constant-returning functions for default configuration
values to reduce code duplication. This macro takes a function name, return type,
and value.
2025-05-18 06:03:35 +03:00
NotAShelf
13bb434ff1
engine: fix race condition in turbo state init
2025-05-18 05:42:39 +03:00
NotAShelf
ed3ba94f74
engine: error on negative values
2025-05-18 05:32:27 +03:00