Implement hostName property.
Fix header guard.
Add a null backend for power manager to use in test mode.