From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756445AbaCNVUI (ORCPT ); Fri, 14 Mar 2014 17:20:08 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:45529 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754747AbaCNVUG (ORCPT ); Fri, 14 Mar 2014 17:20:06 -0400 Date: Fri, 14 Mar 2014 22:20:04 +0100 From: Pavel Machek To: rjw@rjwysocki.net, linux-acpi@vger.kernel.org, kernel list , Greg KH Subject: Re: 3.14-rc: /proc/acpi/battery gone? Message-ID: <20140314212004.GA23731@amd.pavel.ucw.cz> References: <20140314211456.GA23213@amd.pavel.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140314211456.GA23213@amd.pavel.ucw.cz> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > It seems /proc/acpi/battery interface is gone, and I don't see any > option to reintroduce it... what is going on? > > (I got into habit of archiving content of /proc/acpi/battery to > monitor, how battery ages..) And this is ungood: pavel@duo:~/denx/active$ cat /sys/class/power_supply/BAT0/alarm 2403000 What is it? Not exactly easy to guess, and not documented. pavel@duo:~$ grep alarm /data/l/linux-good/Documentation/ABI/*/* /data/l/linux-good/Documentation/ABI/testing/sysfs-ptp:What: /sys/class/ptp/ptpN/n_alarms /data/l/linux-good/Documentation/ABI/testing/sysfs-ptp: alarms offer by the PTP hardware clock. pavel@duo:~$ I wish files with physical values included units. alarm is probably in uA, but it might be uW as well, and ... :-(. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html