HomeFreeBSD

powerpc pmu: Don't use garbage battery info.

Description

powerpc pmu: Don't use garbage battery info.

If pmu_query_battery fails, don't notify a change in battery status.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D34889

Details

Provenance
jhbAuthored on Apr 12 2022, 9:58 PM
Reviewer
jhibbits
Differential Revision
D34889: powerpc pmu: Don't use garbage battery info.
Parents
rG2ad93a4f6b03: grackle badaddr: Use void casts instead of a dummy variable.
Branches
Unknown
Tags
Unknown