Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 825653 - Power save mode turns off by itself. r=Alive, a=bb+

  • Loading branch information...
commit 66dda3949881415d9f462e57851c039c1c51c2b1 1 parent c7b24bc
@RudyLu RudyLu authored samjoch committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/system/js/battery_manager.js
View
2  apps/system/js/battery_manager.js
@@ -232,7 +232,7 @@ var PowerSaveHandler = (function PowerSaveHandler() {
return;
}
- if (battery.level > value && _powerSaveEnabled) {
+ if (value != 0 && battery.level > value && _powerSaveEnabled) {
setMozSettings({'powersave.enabled' : false});
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.