Check cumulative battery existence and AC state before setting status to needsattention
Prevents the battery monitor from needlessly flashing just because the percentage is below 10%
Reviewed-By: einar77