mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Is smol blocking or inotify blocking it?
This commit is contained in:
@@ -26,13 +26,13 @@ use zbus_macros::dbus_proxy;
|
||||
default_path = "/org/asuslinux/Charge"
|
||||
)]
|
||||
trait Charge {
|
||||
/// Limit method
|
||||
fn limit(&self) -> zbus::Result<i16>;
|
||||
/// charge_control_end_threshold method
|
||||
fn charge_control_end_threshold(&self) -> zbus::Result<u8>;
|
||||
|
||||
/// SetLimit method
|
||||
fn set_limit(&self, limit: u8) -> zbus::Result<()>;
|
||||
/// set_charge_control_end_threshold method
|
||||
fn set_charge_control_end_threshold(&self, limit: u8) -> zbus::Result<()>;
|
||||
|
||||
/// NotifyCharge signal
|
||||
#[dbus_proxy(signal)]
|
||||
fn notify_charge(&self, limit: u8) -> zbus::Result<u8>;
|
||||
fn notify_charge_control_end_threshold(&self, limit: u8) -> zbus::Result<u8>;
|
||||
}
|
||||
|
||||
@@ -40,10 +40,10 @@ trait RogBios {
|
||||
fn set_post_boot_sound(&self, on: bool) -> zbus::Result<()>;
|
||||
|
||||
/// PanelOverdrive method
|
||||
fn panel_overdrive(&self) -> zbus::Result<bool>;
|
||||
fn panel_od(&self) -> zbus::Result<bool>;
|
||||
|
||||
/// SetPanelOverdrive method
|
||||
fn set_panel_overdrive(&self, overdrive: bool) -> zbus::Result<()>;
|
||||
fn set_panel_od(&self, overdrive: bool) -> zbus::Result<()>;
|
||||
|
||||
/// NotifyDedicatedGraphicMode signal
|
||||
#[dbus_proxy(signal)]
|
||||
|
||||
Reference in New Issue
Block a user