Add battery info
This commit is contained in:
@@ -7,7 +7,9 @@ import (
|
||||
|
||||
func Print(c *collectors.StatusInfo) {
|
||||
fmt.Printf(
|
||||
"LOAD: %.2f %.2f %.2f | %d-%02d-%02d %02d:%02d\n",
|
||||
"BAT: %d%% (%s) | LOAD: %.2f %.2f %.2f | %d-%02d-%02d %02d:%02d\n",
|
||||
c.BatteryPercent,
|
||||
c.BatteryStatus,
|
||||
c.CPULoad1,
|
||||
c.CPULoad5,
|
||||
c.CPULoad15,
|
||||
|
||||
Reference in New Issue
Block a user