Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/acpi



Module Name:    src
Committed By:   christos
Date:           Sat Apr 27 14:50:18 UTC 2024

Modified Files:
        src/sys/dev/acpi: thinkpad_acpi.c

Log Message:
Expose a sysctl interface hw.acpi.thinkpad<M>.bat[<N>].<behavior> to control
some aspects of battery charging behavior on supported systems:

    charge_start
        threshold below which to start charging (in %, 0-99)

    charge_stop
        threshold above which to stop charging (in %, 1-100)

    force_discharge
        discharge while on AC power, e.g., for calibration

    charge_inhibit
        inhibit charging while on AC power

>From Malte Dehling


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/acpi/thinkpad_acpi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index