Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Fix issue #833 (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrac4242 authored Nov 23, 2020
1 parent 30590c6 commit bfde6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/sysinfo.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Sysinfo {
if (bat.hasbattery) {
if (bat.ischarging) {
indicator.innerHTML = "CHARGE";
} else if (bat.acconnected || bat.timeremaining === -1) {
} else if (bat.acconnected /*|| bat.timeremaining === -1*/) {//fixes #833
indicator.innerHTML = "WIRED";
} else {
indicator.innerHTML = bat.percent+"%";
Expand Down

0 comments on commit bfde6a3

Please sign in to comment.