Erste Version
This commit is contained in:
commit
782b1850a3
1641 files changed
+512713
No files matched your search
@@ -0,0 +1,13 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class PowerState:
|
||||
battery_percent: int | None
|
||||
battery_seconds: int | None
|
||||
on_battery: bool
|
||||
no_battery: bool
|
||||
charging: bool
|
||||
charged: bool
|
||||
plugged_in: bool
|
||||
has_battery: bool
|
||||
Reference in new issue
Block a user