7ade6d03ad
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html - Introduce sme_class into the sysmon_envsys struct to specify a class; currently there are two classes: SME_CLASS_ACADAPTER and SME_CLASS_BATTERY. - Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not any SME_CLASS_ACADAPTER connected. - Add the 'low-power' event into the sensor_battery script that will shutdown the system gracefully via 'shutdown -p'. If powerd(8) is not running, cpu_reboot(9) with RB_POWERDOWN is used. - Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a SME_CLASS_BATTERY device. Update the documentation accordingly to these changes. |
||
---|---|---|
.. | ||
acadapter | ||
lid_switch | ||
Makefile | ||
power_button | ||
reset_button | ||
sensor_battery | ||
sensor_drive | ||
sensor_fan | ||
sensor_indicator | ||
sensor_power | ||
sensor_resistance | ||
sensor_temperature | ||
sensor_voltage | ||
sleep_button |