mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Power mod: Remove commented-out code
This commit is contained in:
parent
fc445cf2e7
commit
9c884122cf
@ -23,13 +23,7 @@ type Battery struct {
|
||||
}
|
||||
|
||||
func NewBattery() *Battery {
|
||||
var battery *Battery
|
||||
//sh := `upower -i $(upower -e | grep '/battery') | grep --color=never -E "state|to\ full|to\ empty|percentage"`
|
||||
battery = &Battery{
|
||||
//args: []string{"-c", sh},
|
||||
//cmd: "/bin/sh",
|
||||
}
|
||||
return battery
|
||||
return &Battery{}
|
||||
}
|
||||
|
||||
/* -------------------- Exported Functions -------------------- */
|
||||
|
Loading…
x
Reference in New Issue
Block a user