Skip to content

Commit

Permalink
chore: correct a typo in battery.go
Browse files Browse the repository at this point in the history
Correct a typo in battery.go
  • Loading branch information
felixonmars authored and dengbo11 committed May 30, 2023
1 parent 78ba008 commit cec4948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powersupply/battery/battery.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func GetBatteryInfo(bat *gudev.Device) *BatteryInfo {
}
}

/* check the remaining thime is under a set limit, to deal with broken
/* check the remaining time is under a set limit, to deal with broken
primary batteries rate */
if timeToEmpty > 240*60*60 { /* ten days for discharging */
timeToEmpty = 0
Expand Down

0 comments on commit cec4948

Please sign in to comment.