feat: One-shot full charge charge

This commit is contained in:
AlbertGG
2024-12-14 22:07:46 +00:00
committed by Luke Jones
parent e7c4619ee9
commit 72ff1ab3ab
5 changed files with 81 additions and 3 deletions

View File

@@ -45,6 +45,9 @@ pub trait Platform {
#[zbus(property)]
fn set_charge_control_end_threshold(&self, value: u8) -> zbus::Result<()>;
// Toggle one-shot charge to 100%
fn one_shot_full_charge(&self) -> zbus::Result<()>;
/// DgpuDisable property
#[zbus(property)]
fn dgpu_disable(&self) -> zbus::Result<bool>;