Package power detects and reports the power source of a laptop. https://godoc.org/github.com/josharian/power