As far as I know, the API for UnitPower has types, and combo points aren't listed as usable.

Did you add this code into a folder, or stuffed it inside another addon?