pmu.4 (185737) | pmu.4 (185754) |
---|---|
1.\"- 2.\" Copyright (c) 2008 Nathan Whitehorn <nwhitehorn@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 22.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 23.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24.\" POSSIBILITY OF SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright (c) 2008 Nathan Whitehorn <nwhitehorn@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 22.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 23.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24.\" POSSIBILITY OF SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/share/man/man4/man4.powerpc/pmu.4 185737 2008-12-07 06:34:50Z nwhitehorn $ | 26.\" $FreeBSD: head/share/man/man4/man4.powerpc/pmu.4 185754 2008-12-08 02:37:08Z nwhitehorn $ |
27.\" 28.Dd December 6, 2008 29.Dt PMU 4 30.Os 31.Sh NAME 32.Nm pmu 33.Nd Apple PMU99 Power Management Driver 34.Sh SYNOPSIS --- 29 unchanged lines hidden (view full) --- 64.El 65.Pp 66.Sh SYSCTL VARIABLES 67The 68.Nm 69driver provides power management services in addition to an 70.Xr adb 4 71interface. The following sysctls can be used to control the | 27.\" 28.Dd December 6, 2008 29.Dt PMU 4 30.Os 31.Sh NAME 32.Nm pmu 33.Nd Apple PMU99 Power Management Driver 34.Sh SYNOPSIS --- 29 unchanged lines hidden (view full) --- 64.El 65.Pp 66.Sh SYSCTL VARIABLES 67The 68.Nm 69driver provides power management services in addition to an 70.Xr adb 4 71interface. The following sysctls can be used to control the |
72power management behavior. | 72power management behavior and to examine current system power and 73thermal conditions. |
73.Bl -tag -width indent 74.It Va dev.pmu.%d.server_mode 75Restart after power failure behavior (1 causes system to reboot after power | 74.Bl -tag -width indent 75.It Va dev.pmu.%d.server_mode 76Restart after power failure behavior (1 causes system to reboot after power |
76cut, 0 causes system to remain off) | 77cut, 0 causes system to remain off). 78.It Va dev.pmu.%d.batteries.%d.present 79Indicates whether the relevant battery is inserted. 80.It Va dev.pmu.%d.batteries.%d.charging 81Indicates whether the battery is currently charging. 82.It Va dev.pmu.%d.batteries.%d.charge 83The current battery charge, in milliamp hours. 84.It Va dev.pmu.%d.batteries.%d.maxcharge 85The battery's self-reported maximum charge, in milliamp hours. 86.It Va dev.pmu.%d.batteries.%d.rate 87The current into the battery, in milliamps. While the battery is discharging, 88this will be negative. 89.It Va dev.pmu.%d.batteries.%d.voltage 90Battery voltage, in millivolts. 91.It Va dev.pmu.%d.batteries.%d.time 92Estimated time until full battery charge (or discharge), in minutes. 93.It Va dev.pmu.%d.batteries.%d.life 94Current fraction of the battery's maximum charge, in percent. |
77.Sh SEE ALSO | 95.Sh SEE ALSO |
78.Xr adb 4 | 96.Xr adb 4 , 97.Xr acpi 4 |
79.Sh HISTORY 80The 81.Nm 82device driver appeared in 83.Nx 4.0 , 84and then in 85.Fx 8.0 . 86.Sh AUTHORS 87.An -nosplit 88The 89.Nm 90driver was written by 91.An Michael Lorenz 92.Aq macallan@NetBSD.org 93and ported to FreeBSD by 94.An Nathan Whitehorn 95.Aq nwhitehorn@freebsd.org . | 98.Sh HISTORY 99The 100.Nm 101device driver appeared in 102.Nx 4.0 , 103and then in 104.Fx 8.0 . 105.Sh AUTHORS 106.An -nosplit 107The 108.Nm 109driver was written by 110.An Michael Lorenz 111.Aq macallan@NetBSD.org 112and ported to FreeBSD by 113.An Nathan Whitehorn 114.Aq nwhitehorn@freebsd.org . |