Skip to content

freebsd: Fix ACPI energy-rate sign

Val Packett requested to merge valpackett/upower:freebsd into master

The energy-rate is supposed to be negative when charging, but the data returned by FreeBSD does not do that. Looks like this was inerited from the ACPI control method battery spec, where direction is determined by status, and rate is an absolute value.

Merge request reports