Int comparison typo

This commit is contained in:
John Mertz 2022-06-28 15:27:25 -04:00 committed by John Mertz
parent 0f0a1c9011
commit 8842d7a3b0
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
1 changed files with 4 additions and 4 deletions

View File

@ -101,15 +101,15 @@ if ($bar) {
if ($powref->{AC}->{Status} eq "Plugged-In") {
$class = 'charging';
$output .= "";
} elsif ($powref->{Total}->{Percentage} le 10) {
} elsif ($powref->{Total}->{Percentage} <= 10) {
$class = 'critical';
$output .= "";
} elsif ($powref->{Total}->{Percentage} le 35) {
} elsif ($powref->{Total}->{Percentage} <= 35) {
$class = 'low';
$output .= "";
} elsif ($powref->{Total}->{Percentage} le 60) {
} elsif ($powref->{Total}->{Percentage} <= 60) {
$output .= "";
} elsif ($powref->{Total}->{Percentage} le 85) {
} elsif ($powref->{Total}->{Percentage} <= 85) {
$output .= "";
} else {
$output .= "";