Permalink
Browse files

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

  • Loading branch information...
1 parent c7b24bc commit 66dda3949881415d9f462e57851c039c1c51c2b1 @RudyLu RudyLu committed with samjoch Jan 7, 2013
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;
}

0 comments on commit 66dda39

Please sign in to comment.