[Top] [All Lists]

Re: Battery status

To: Rodolfo Giometti <>
Subject: Re: Battery status
From: Clark Williams <>
Date: Fri, 22 Jul 2005 09:53:56 -0500
In-reply-to: <>
Original-recipient: rfc822;
References: <>
On Fri, 2005-07-22 at 16:22 +0200, Rodolfo Giometti wrote:
> Hello,
> I'd like to implement a way to allow userspace to read battery status
> (or percentage).  I notice this port of APM interface for ARM
> architecture «arch/arm/kernel/apm.c» and I think I can use comething
> similar... what do you think about that?

You might want to look at how acpi is presented in the /proc interface.
You could hook your battery status routines into the acpi entries:


Just a thought.


Clark Williams <>

Attachment: signature.asc
Description: This is a digitally signed message part

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