Re: bluetooth, buttons, and other fun

From: Eugeny Boger <eugenyboger_at_dgap.mipt.ru>
Date: Fri, 09 Mar 2007 17:57:04 +0300

Hello Paul,

1. I'm looking to ads7846
datasheet(http://focus.ti.com/lit/ds/symlink/ads7846.pdf) and,first of
all, seems like we
can't determine current capacity(current battery level) by ads7847
anyway. Do you know, is there way to do it without driver-level numeric
current integration?

2. I implemented basic APM support for adc_battery, using special flag
(I used ".apm_default", but you are right, ".main_battery" is more
obvious). Seems like it works fine.

3.
> Depends what you mean by "charge_status". As I told,
> ds2760_battery's interface should be followed by all means. It's far
> from being clean, but when we'll cleanup it, adc_battery will be
> cleaned up automagically, not like we'll need to do same work twice.
I mean callback function("detect_battery_charging"), which should be
called by the adc_battery driver to get information about charging
status of battery (Charging,Discharging,Not-charging,etc).

4. Should we use timer in adc_battery or use workqueue like ds2760 driver?

---
Best wishes,
   Eugeny Boger
Received on Fri Mar 09 2007 - 09:57:19 EST

This archive was generated by hypermail 2.2.0 : Fri Mar 09 2007 - 09:57:37 EST