Add initial support for mains/ac adapters. This adds the state only to the tooltip, but the code has been prepared to update AC state together with normal battery updates, so that it's possible to forward the state to the normal panel area or trigger something on AC (dis)connection.