aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libLumina/LuminaOS-DragonFly.cpp2
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
bgstack15