[Top] [All Lists]

Re: [PATCH v7 4/8] Loongson: YeeLoong: add battery driver

To: Pavel Machek <>
Subject: Re: [PATCH v7 4/8] Loongson: YeeLoong: add battery driver
From: Wu Zhangjin <>
Date: Fri, 04 Dec 2009 22:56:54 +0800
Cc: Ralf Baechle <>,,,, Dmitry Torokhov <>, "Rafael J. Wysocki" <>,, Stephen Rothwell <>,, Hongbing Hu <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=XjyTHMJSFyf90Rinkj9NvvBvMf04c9cqRuyH2J8n0XE=; b=M7gs3+oSNnFqdrHOEJ114o4ZTMUDSsnPqydUQq+4QCPTmxguKUaysGV+QnJqUEJiLw 9Lj0EPOMLFX079hmbo+E2HUfsSyfFLTV7Kaf8ybhgVfFjyvw0lYAFMWQeFTWWiljrBsY 18g5wLxez+qeguIdJmRD5gIWfecgkQAlBM65I=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=KHcsB1oqf6TG1swTmld3i6ApEtURPxP/3BHRU69x+5qQzIul16/tiriuQr017MbODn luIYtfQiGvgup9tblyjx6uONT2gwCm73dLhbEX6Aos9567phpxs12suQeJJz9V4MhpJT cWXyBOJAKFKcejdXNpgmIre64ohy0VuOexZuw=
In-reply-to: <>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;
References: <> <> <>
On Fri, 2009-12-04 at 09:04 +0100, Pavel Machek wrote:
> On Fri 2009-12-04 21:34:17, Wu Zhangjin wrote:
> > From: Wu Zhangjin <>
> > 
> > This patch adds APM emulated Battery Driver, it provides standard
> > interface(/proc/apm) for user-space applications(e.g. kpowersave,
> > gnome-power-manager) to manage the battery.
> It would be nicer if this went to drivers/power, and used its
> interface -- providing not only percentage but also other values.

There is a version basic on the power supply interface, but it is buggy.

        Wu Zhangjin

<Prev in Thread] Current Thread [Next in Thread>