Date: Mon, 15 Feb 2016 18:29:25 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207223] acpica/acpi_battery.c: introduce hw.acpi.battery.rate sysctl Message-ID: <bug-207223-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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: xmj@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207223-8>
