Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=LGWiD9Q3; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=LhcrKo1i Received: by mail.netbsd.org (Postfix, from userid 605) id ECDBC84D59; Sat, 27 Apr 2024 14:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714229420; bh=6KpdTRCOIezHJ2IstvqizRYQi1n3ANODZ9jIGHt06zg=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=LGWiD9Q3almV25tmKs3Jxb8ewok50mxCxLPEKXDUL673Dc50n+a9hQKFK8YJW6dwb xUzwOQFypIrKaVsTPNdFLQdh+Pg3ZZmKX9Hs4VzHUxMv3UPPx35wZA0O9pUdu611fs 2FQAtXpvDt5g2gcVqUMC99RjU+9p1uKvV2v+986s= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D4A5684D59 for ; Sat, 27 Apr 2024 14:50:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id M3u7L9C0bogI for ; Sat, 27 Apr 2024 14:50:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6E17584CC8 for ; Sat, 27 Apr 2024 14:50:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714229418; bh=6KpdTRCOIezHJ2IstvqizRYQi1n3ANODZ9jIGHt06zg=; h=Date:From:Subject:To:Reply-To; b=LhcrKo1iU5ZuXoSg0kkoNxELE4AiJHH6HnTRkf3BlIUfC3YAPgCWlwe49M3wITk+U BvH2k+Ng8XQEj+aVxaLnL5cOv+66sKEb4sZcdQUOtIGZmeERBNSXL9CDf69ucVqfZv Yj9BkFs1t4O1bVGBKUQefy8Aug5BdsqA7OYvxmDk= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5E35AFA2C; Sat, 27 Apr 2024 14:50:18 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 27 Apr 2024 10:50:18 -0400 From: "Christos Zoulas" Subject: CVS commit: src/sys/dev/acpi To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240427145018.5E35AFA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: 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.bat[]. 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.