pub trait BatteryManagerProxyInterface: Send + Sync {
type GetBatteryInfoResponseFut: Future<Output = Result<BatteryInfo, Error>> + Send;
// Required methods
fn get_battery_info(&self) -> Self::GetBatteryInfoResponseFut;
fn watch(
&self,
watcher: ClientEnd<BatteryInfoWatcherMarker>,
) -> Result<(), Error>;
}