From: Binary Xerroz <xerroz-BC6XjCpM3eF0abU8S3f8Vti2O/JbrIOy@public.gmane.org>
To: Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: ACPI: Battery information?
Date: Tue, 08 Jun 2004 14:37:30 -0700 [thread overview]
Message-ID: <40C6319A.7080707@users.xeroprj.org> (raw)
In-Reply-To: <20040608113456.GN13782-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
[-- Attachment #1: Type: text/html, Size: 3008 bytes --]
[-- Attachment #2: acpidump.bz2 --]
[-- Type: application/octet-stream, Size: 111 bytes --]
[-- Attachment #3: battery.c.diff --]
[-- Type: text/x-patch, Size: 818 bytes --]
62c62
<
---
> int battery_init = 0;
75d74
<
306d304
<
324a323
> //return_VALUE('1');
334d332
<
362c360,361
<
---
> acpi_battery_check(battery);
> battery_init = 0;
365c364
<
---
> recheck:
369,370c368,373
< p += sprintf(p, "present: no\n");
< goto end;
---
>
> if(battery_init==1) { p += sprintf(p, "present: no\n"); goto end; }
> acpi_battery_check(battery);
> battery_init++;
> goto recheck;
>
461c464,465
<
---
> acpi_battery_check(battery);
> battery_init = 0;
464a469
> recheck:
468,469c473,477
< p += sprintf(p, "present: no\n");
< goto end;
---
> if(battery_init==1) { p += sprintf(p, "present: no\n"); goto end; }
> acpi_battery_check(battery);
> battery_init++;
> goto recheck;
>
471d478
<
next prev parent reply other threads:[~2004-06-08 21:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-07 23:41 ACPI: Battery information? Binary Xerroz
[not found] ` <40C4FD27.7000805-BC6XjCpM3eF0abU8S3f8Vti2O/JbrIOy@public.gmane.org>
2004-06-08 0:47 ` Ow Mun Heng
2004-06-08 7:20 ` wwp
[not found] ` <20040608092045.72e15c4c-x0nrVmVds9QJrXWdq/lNz0B+6BGkLq7r@public.gmane.org>
2004-06-08 9:47 ` Bruno Ducrot
[not found] ` <20040608094707.GM13782-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-06-08 10:14 ` wwp
[not found] ` <20040608121424.5b559830-x0nrVmVds9QJrXWdq/lNz0B+6BGkLq7r@public.gmane.org>
2004-06-08 11:40 ` Bruno Ducrot
[not found] ` <40C58F45.2040108@users.xeroprj.org>
[not found] ` <40C58F45.2040108-BC6XjCpM3eF0abU8S3f8Vti2O/JbrIOy@public.gmane.org>
2004-06-08 11:34 ` Bruno Ducrot
[not found] ` <20040608113456.GN13782-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-06-08 21:37 ` Binary Xerroz [this message]
[not found] ` <40C6319A.7080707-BC6XjCpM3eF0abU8S3f8Vti2O/JbrIOy@public.gmane.org>
2004-06-09 7:54 ` Bruno Ducrot
[not found] ` <20040609075401.GT13782-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-06-09 9:44 ` Bruno Ducrot
2004-06-10 16:43 ` Stefan Seyfried
[not found] ` <20040610164324.GA6919-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-06-10 21:16 ` Bruno Ducrot
[not found] ` <20040610211644.GF13782-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-06-11 5:10 ` Stefan Seyfried
[not found] ` <20040611051031.GA5237-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-06-12 19:07 ` Michael Frank
2004-06-14 14:06 ` Bruno Ducrot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40C6319A.7080707@users.xeroprj.org \
--to=xerroz-bc6xjcpm3ef0abu8s3f8vti2o/jbrioy@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.