From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755347AbaCOBa4 (ORCPT ); Fri, 14 Mar 2014 21:30:56 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:58765 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752107AbaCOBaz (ORCPT ); Fri, 14 Mar 2014 21:30:55 -0400 From: "Rafael J. Wysocki" To: Ilia Mirkin , Lan Tianyu Cc: Pavel Machek , "linux-acpi@vger.kernel.org" , kernel list Subject: Re: 3.14-rc: /proc/acpi/battery gone? Date: Sat, 15 Mar 2014 02:46:19 +0100 Message-ID: <1677000.FsvVVRjEvo@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.14.0-rc6+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <20140314211456.GA23213@amd.pavel.ucw.cz> <20140314221143.GA26621@amd.pavel.ucw.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, March 14, 2014 06:14:12 PM Ilia Mirkin wrote: > On Fri, Mar 14, 2014 at 6:11 PM, Pavel Machek wrote: > > On Fri 2014-03-14 17:29:41, Ilia Mirkin wrote: > >> On Fri, Mar 14, 2014 at 5:14 PM, Pavel Machek wrote: > >> > Hi! > >> > > >> > It seems /proc/acpi/battery interface is gone, and I don't see any > >> > option to reintroduce it... what is going on? > >> > >> The interface went away in a semi-recent kernel release (3.13 or > >> 3.12), breaking pretty much every battery app. (Admittedly the > >> interface was marked as deprecated for quite some time, but that > >> didn't stop everyone from using it and not caring about the new > >> thing.) I've yet to find a windowmaker dock app that works with the > >> current sysfs API :( > > > > Name one application it broke, and we'll get it reverted. It broke my > > by-hand journalling, at the very least. > > wmbattery > > They have attempted to use the sysfs api, but apparently that > integration was done with an older version of that API. There's also > some attempt to get it to work with upower, but I couldn't figure out > how to make that work either on my (up-to-date gentoo) box. (TBH I > didn't spend more than an hour or two on it, so it may not be > impossible.) Tianyu, can you please have a look at this? -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.