Re: SHR: monitoring charching rate, voltage, ...

2013-11-09 Thread Matthias Apitz
El día Saturday, November 09, 2013 a las 11:52:24AM +0400, Paul Fertser 
escribió:

 See /sys/class/power_supply/battery/uevent (and other files in there if
 you need file-per-parameter).

Hi,

Thanks for the hint. I should have done more searching in our mailing list
before asking this question :-(

I came up with the attached script. The minty-boost can charge the FR
only, for example, from 48% to 83%, i.e. about 35% based on 2 AA cells
of Sanyo 2700mAh accus, no more energy drain from them. I will check with
replacing the FR by a 10 Ohm resitor (5V divided by 500mA) how much current it
gives really under last.

Thanks again

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards


boost.sh
Description: Bourne shell script
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SHR: monitoring charching rate, voltage, ...

2013-11-08 Thread Paul Fertser
Hi,

Matthias Apitz g...@unixarea.de writes:
 I would like todo some charching tests with my special charger (a
 minty-boost, http://learn.adafruit.com/minty-boost?view=all ),
 is there a simple way with some shell scripting to monitor every minute
 or so the current charging rate, voltage etc. of the process?

See /sys/class/power_supply/battery/uevent (and other files in there if
you need file-per-parameter).

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community