altos: Add power management APIs