Update mac-battery support to use pmset instead of ioreg

pmset's output is much closer to the point.