diff options
Diffstat (limited to 'libLumina/LuminaOS-DragonFly.cpp')
-rw-r--r-- | libLumina/LuminaOS-DragonFly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-DragonFly.cpp b/libLumina/LuminaOS-DragonFly.cpp index e46f225c..e44db402 100644 --- a/libLumina/LuminaOS-DragonFly.cpp +++ b/libLumina/LuminaOS-DragonFly.cpp @@ -250,7 +250,7 @@ int LOS::batteryCharge(){ //Returns: percent charge (0-100), anything outside th //Battery Charging State bool LOS::batteryIsCharging(){ - return (get_sysctlbyname_int("hw.acpi.battery.state") == 2); + return (get_sysctlbyname_int("hw.acpi.battery.state") == 0); } //Battery Time Remaining |