Create power-lifecycle.py