Skip to content

Commit

Permalink
fix: battery print bugs2
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Dec 9, 2022
1 parent dd46427 commit 4d3ee90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/entity/batteryInfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ func (battery BatteryList) ToString() string {
return ""
}
for key, e := range battery.DeviceBatteryInfo {
fmt.Println("udId:" + key)
fmt.Sprintf("udId:%s\n", key)
fmt.Println(e.ToString())
fmt.Println("")
}
return ""
}
Expand Down

0 comments on commit 4d3ee90

Please sign in to comment.