#!/bin/bash

# archypr:summary=Set the correct power profile on boot based on current AC/battery state.

if archypr-battery-present && ! archypr-ac-present; then
  archypr-powerprofiles-set battery
else
  archypr-powerprofiles-set ac
fi
