From 91890e5948993973b873adab9d20a4af625a8f44 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 13 Jan 2025 22:42:22 -0800 Subject: [PATCH] manager/user: Add BatteryChargeLimit1 interface (#12) --- com.steampowered.SteamOSManager1.xml | 25 +++++ data/platforms/jupiter.toml | 7 +- src/bin/steamosctl.rs | 34 ++++++- src/hardware.rs | 1 + src/manager/root.rs | 8 +- src/manager/user.rs | 69 ++++++++++++- src/platform.rs | 8 ++ src/power.rs | 143 ++++++++++++++++++++++----- src/proxy/battery_charge_limit1.rs | 31 ++++++ src/proxy/mod.rs | 2 + 10 files changed, 292 insertions(+), 36 deletions(-) create mode 100644 src/proxy/battery_charge_limit1.rs diff --git a/com.steampowered.SteamOSManager1.xml b/com.steampowered.SteamOSManager1.xml index e59a820..89150e3 100644 --- a/com.steampowered.SteamOSManager1.xml +++ b/com.steampowered.SteamOSManager1.xml @@ -29,6 +29,31 @@ + + + + + + + + + + +