Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 16:33:36 UTC Now

2024-04-27 14:50:18 UTC MAIN commitmail json YAML

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

(christos)