From nobody Fri Dec 24 14:08:11 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 52BFC18FF717 for ; Fri, 24 Dec 2021 14:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JL86M1Bsyz3thT for ; Fri, 24 Dec 2021 14:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0AE8C2568F for ; Fri, 24 Dec 2021 14:08:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BOE8ABJ064479 for ; Fri, 24 Dec 2021 14:08:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BOE8ADM064478 for bugs@FreeBSD.org; Fri, 24 Dec 2021 14:08:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260214] acpi_battery: Should provide current/max battery charge in Wh (wine expects them) Date: Fri, 24 Dec 2021 14:08:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: georg.lastname@web.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640354891; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/v7kdrhK2T//eEkGmckSFUAcAlSpYU7Nu5yEUf2cTuY=; b=n7iDDBJkJMC3qvrjopCs/itYM/BWNM2CbmJA+uKENwMya7Zjcz0B3GQAg7xpNLK0a8Vru8 JPfB+KwgwpWTJNToS3+ncj4odlUjr8yYkSKc23R68T2MD6o1CmylvgEQ86YC2ILpE0ksQ0 kvTGzj/WQDuw+GRvedIYYHuP7nA5eULp0/H0YkG/FGg+5f/3v49OAqEXlQAkxfj9oO8f5I DSjm1MtHXHzCJVRkod/gCB6Ft9Yd8qQ/+is3ugNHyAhfxA/evJeXiokx/A7iIXKHkNv4EB shZQXEo116ZfvvpGd2XyY8w6dWn2KQN6ZKR5cPDz7vS2YcWbnO23o5jVhOWxZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640354891; a=rsa-sha256; cv=none; b=YMjLsagdTd+r5e4tOSD1PoQaif9DEjLhiDmsB5Gd1Lpm3U4IvK9VcTf5lEb4nsI6Pynj6e 7V2ZbCA0b1ld4Y1siMSkaSkDtnrmoHdh0+x67SVb7P4frxb91JB3GB9UQ159t+qq6ii7D2 rYm+kCyjsh6zerBZIk0tSNYfpWDwiaw633P9c3ssCbbEHxWwkwipBz/oSZn+mz/xd9D3w8 DVF8TuV2xbdmippHwHptXkS2Q1LvYzR6SqKQAyf0dtB3emL+Vbs8swTiAKVn6uJLJ++auJ NAuFi7dfzenRQzfTHqE7F1vXPe0G0viW+MQ8Xlsewox3N1dlVC+Om5pNaur6dg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260214 georg.lastname@web.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |georg.lastname@web.de --- Comment #3 from georg.lastname@web.de --- Why does wine care about battery capacity when we are charging anyways? acpi.battery is an abstraction layer. A possible new sysctl acpi.battery.capacity would therefore report the capacity of all batteries combined. For control method batteries it should be possible to get the last full capacity of each battery, add those values, and report them to acpi.battery. Not sure whether it's possible with smart batteries. If it's a script, acpiconf(8) can be used. --=20 You are receiving this mail because: You are the assignee for the bug.=