Commit graph

112 commits

Author SHA1 Message Date
508c6ceb9e Community settings WIP 2023-12-22 16:26:50 -05:00
310af1b3ae Fix ryzenadj build error with feature flag, try fix game start callbacks, start LED lib refactor 2023-12-17 16:13:59 -05:00
df71a619d9 Update limits config to correctly detect OLED with newer firmware's CPU name 2023-12-16 14:40:36 -05:00
30ad80f031 Add ppt divisor to get_ppt instead of just setter 2023-12-11 17:52:22 -05:00
a2d5103f12 Improve generic support, add Framework 13 AMD support for test platform (ryzenadj v0.14 update not included) 2023-12-10 23:15:31 -05:00
8f219a3255 Improve AMD 6800 handheld detection (#132)
Related to #131 tested on Aokzoe A1

Co-authored-by: Vincent Guilbert <vrguilbert@gmail.com>
Reviewed-on: NG-SD-Plugins/PowerTools#132
Co-authored-by: drokath <vrguilbert@gmail.com>
Co-committed-by: drokath <vrguilbert@gmail.com>
2023-11-29 01:47:25 +00:00
0b8e3deb92 Fix reset value for max charge level 2023-11-26 17:27:05 -05:00
d481f13144 Make settings variant map use u64 instead of strings since no longer restricted by JSON 2023-11-26 09:50:56 -05:00
04a94c902f Update limit enum names used in ron 2023-11-26 09:50:13 -05:00
e0ddee9e07 Update .json to .ron in various places, fix tests 2023-11-18 15:55:53 -05:00
396a52da5e Use decky-provided settings directory 2023-11-18 15:31:45 -05:00
3aa9680bae Add multi-profile per-game functionality for #82, change to JSON to RON format 2023-11-18 15:18:45 -05:00
a90932d813 Replace pt_oc functionality with cross-provider equivalent (& resultant refactor) 2023-10-24 18:36:07 -04:00
a8ad9a9e62 Demote log level of max_charge_lvl check to debug 2023-10-18 22:56:13 -04:00
46659a474d Unset battery charge limit properly, fix #127 2023-10-09 11:19:39 -04:00
05f927dc0f Fix Deck CPU min clock min value being saved and shown in UI with clamped value 2023-09-04 17:49:25 -04:00
40b46337b4 Try resetting clocks as well as forcing them to min/max range 2023-09-04 17:46:19 -04:00
33c41c3e3d Unset slow memory properly, if the kernel behaved as documented 2023-08-24 21:22:43 -04:00
5f6370e778 Make CPU reset workaround skip resume from sleep 2023-08-24 20:02:31 -04:00
5eceb7e4b7 Fix sysfs class/entity searching by capabilities so that everything no longer just fallbacks to stable-only defaults 2023-08-08 20:55:19 -04:00
79484e15a2 Improve current limits settings for newer kernels 2023-08-07 20:20:11 -04:00
594f69b24c Improve battery hwmon searching for newer kernels 2023-08-07 20:09:04 -04:00
91d8eee96d Update version to beta1 2023-08-07 17:09:36 -04:00
3cbde30e09 Reduce periodic network activity to 1 request instead of 5 2023-08-07 17:08:24 -04:00
cb3ec8d3a2 Fix message dismissing not saving 2023-08-07 16:12:22 -04:00
b7cf8b8caf Use incompatible hwmon for battery in the unlikely event the hwmon still has the correct name. version to alpha2 2023-08-07 15:57:08 -04:00
64cb4193f9 Improve sysfs calls from providers to intelligently find the correct entry to fix #114 2023-08-06 14:49:24 -04:00
33e8c7ccc5 Add dev messages functionality 2023-07-03 22:01:00 -04:00
907594fade Make current and charge power hidden by default 2023-06-17 12:34:52 -04:00
f68abbfd1b Add UI elements for battery inrush power 2023-06-16 22:00:57 -04:00
4ac9303754 Add battery power API 2023-06-10 16:27:13 -04:00
441a635163 Add workaround for CPU clocks not being unset by kernel correctly, fixes #107 2023-05-29 19:40:57 -04:00
8c77630fb4 Add basic event commands 2023-05-28 10:34:20 -04:00
f8ea999604 Refactor steam_deck to modularize system interactions 2023-05-25 21:03:31 -04:00
a4e1ece099 Update h2 2023-04-29 10:41:47 -04:00
533beaf289 Fix loading battery settings from json, update some deps 2023-04-02 13:36:33 -04:00
2f8c0a0172 Fix unecessary calls to on_set() from battery vibe checks and reset ppt to default instead of max 2023-04-01 20:43:26 -04:00
d654e3ee06 Remove redundant sysfs commit 2023-04-01 20:18:16 -04:00
0d68ae996c Reset PPT to max when limits disabled 2023-04-01 20:11:02 -04:00
47d457dd2a Upgrade limits_* versions 2023-04-01 10:49:22 -04:00
8f61e22c81 Expand limits json with additional data 2023-03-31 18:07:58 -04:00
c374212b13 Only convert game ID to number in a language that doesn't have horrible number types 2023-03-31 17:25:29 -04:00
1d57edfd80 Remove blocking net request in main thread to speed up startup for slow connections 2023-03-28 22:49:15 -04:00
54393cd0cb Cargo fmt 2023-03-27 21:11:22 -04:00
2c0cac125c Add version file 2023-03-27 21:11:03 -04:00
1fbdd69771 Fix link opening 2023-03-27 20:48:06 -04:00
27afa31520 Only apply manual power_dpm_force_performance_level when actually necessary #87 2023-03-27 20:24:21 -04:00
69f6b800be Fix profile loading on latest SteamOS stable update 2023-03-26 21:16:13 -04:00
f42efab0b0 Add battery charge limit functionality 2023-03-26 10:50:38 -04:00
68e86c0778 Use profile filename instead of profile name to detect profile change 2023-03-25 13:46:58 -04:00