https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207223
Bug ID: 207223 Summary: acpica/acpi_battery.c: introduce hw.acpi.battery.rate sysctl Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: x...@freebsd.org Created attachment 167043 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167043&action=edit add hw.acpi.battery.rate sysctl oid Patch attached introduces a sysctl to display the discharging rate of a battery. It seems to me (but, I'm not particularly sure) that the info populated into &acpi_battery_battinfo.rate is -always- converted to Watts (cf acpi_battery_get_battinfo() lines 202-203. So we could probably append "mW" to the output, however I'm quite fond of having it be an integer for the purposes of extending i3 to read this new sysctl and output it to my status bar. ;-) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"