* Set Power Profiles Rules when plugged in (balanced) and unplugged (power-saver)" * Check for battery presence before installing power profile rules * Add battery presence check script and update powerprofilesctl rules * fix indentation * Simplify power profile rule creation logic