Re: battery not fully charging

2009-07-27 Thread pike
Hi

 Since this week, my battery isnt charging to the fullest anymore.
 How do you estimate the charge?

by looking at the icons in illume and paroli :-)

ok, let me try a
 mdbus -s org.freesmartphone.odeviced \
   /org/freesmartphone/Device/PowerSupply/battery \
   org.freesmartphone.Device.PowerSupply.GetInfo

after loading a full night:
 
 {   'capacity': '96',
 'charge_full': '1121337',
 'current_now': '29437',
 'health': 'Good',
 'online': '1',
 'present': '1',
 'status': 'Charging',
 'technology': 'Li-ion',
 'temp': '313',
 'time_to_empty_now': '138840',
 'time_to_full_now': '3932100',
 'type': 'Battery',
 'voltage_now': '4128000'}

.. but i'm not sure what means what.
does this look bad ?

$2c,
*-pike

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


Re: battery not fully charging

2009-07-27 Thread Sebastian Krzyszkowiak
On Mon, Jul 27, 2009 at 15:36, pikepike-openm...@kw.nl wrote:
 Hi

 Since this week, my battery isnt charging to the fullest anymore.
 How do you estimate the charge?

 by looking at the icons in illume and paroli :-)

 ok, let me try a
 mdbus -s org.freesmartphone.odeviced \
       /org/freesmartphone/Device/PowerSupply/battery \
       org.freesmartphone.Device.PowerSupply.GetInfo

 after loading a full night:

 {   'capacity': '96',
     'charge_full': '1121337',
     'current_now': '29437',
     'health': 'Good',
     'online': '1',
     'present': '1',
     'status': 'Charging',
     'technology': 'Li-ion',
     'temp': '313',
     'time_to_empty_now': '138840',
     'time_to_full_now': '3932100',
     'type': 'Battery',
     'voltage_now': '4128000'}

 .. but i'm not sure what means what.
 does this look bad ?

 $2c,
 *-pike

Your battery is ok, it reports 96% of charge ('capacity').

-- 
Sebastian Krzyszkowiak
dos

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


Re: battery not fully charging

2009-07-27 Thread pike
Hi

 Since this week, my battery isnt charging to the fullest anymore.

 mdbus -s org.freesmartphone.odeviced \
   /org/freesmartphone/Device/PowerSupply/battery \
   org.freesmartphone.Device.PowerSupply.GetInfo

 after loading a full night:
 {   'capacity': '96',
 'charge_full': '1121337',
 'current_now': '29437',
 'health': 'Good',
 'online': '1',
 'present': '1',
 'status': 'Charging',
 'technology': 'Li-ion',
 'temp': '313',
 'time_to_empty_now': '138840',
 'time_to_full_now': '3932100',
 'type': 'Battery',
 'voltage_now': '4128000'}

 Your battery is ok, it reports 96% of charge ('capacity').

is it charged ? the icons say its at about 50% ?
its been on juice for near 12 hours.

thanks,
*-pike

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


Re: battery not fully charging

2009-07-27 Thread Al Johnson
On Monday 27 July 2009, pike wrote:
 Hi

  Since this week, my battery isnt charging to the fullest anymore.
 
  mdbus -s org.freesmartphone.odeviced \
/org/freesmartphone/Device/PowerSupply/battery \
org.freesmartphone.Device.PowerSupply.GetInfo
 
  after loading a full night:
  {   'capacity': '96',
  'charge_full': '1121337',
  'current_now': '29437',
  'health': 'Good',
  'online': '1',
  'present': '1',
  'status': 'Charging',
  'technology': 'Li-ion',
  'temp': '313',
  'time_to_empty_now': '138840',
  'time_to_full_now': '3932100',
  'type': 'Battery',
  'voltage_now': '4128000'}
 
  Your battery is ok, it reports 96% of charge ('capacity').

 is it charged ? the icons say its at about 50% ?
 its been on juice for near 12 hours.

You didn't mention the distro (or I missed it), but the illume battery icon 
has been known to report wrong values. IIRC this is because it gets the battey 
info via HAL, and reports the average if more than one battery is found. HAL 
sometimes reports the USB connection as an empty battery, effectively halving 
the charge level shown by the battery icon.

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


Re: battery not fully charging

2009-07-27 Thread Rask Ingemann Lambertsen
On Sun, Jul 26, 2009 at 06:35:24PM +0400, Paul Fertser wrote:

 How do you estimate the charge?

   /sys/class/power_supply/battery/capacity, voltage estimated with
/sys/class/power_supply/battery/voltage_now. An multimeter confirmed the
voltage reading.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: battery not fully charging

2009-07-27 Thread Rask Ingemann Lambertsen
On Sun, Jul 26, 2009 at 01:57:27PM +0200, pike wrote:

 Since this week, my battery isnt charging to the fullest anymore.
 This didnt just gradually change, but happened 'all of a sudden'.
 It charges - connected to the charger - up to ~50% of its capacity
 and doesnt seem to go any further.

   I've seen that too, except it would only charge to 40 % or 3.8 V. It did
not fix itself over a few days. Eventually, I shut down the FR, removed
battery and external power and let it sit there for 5 minutes. When I put
the battery back in and reconnected external power, it charged just fine.

   I took dumps of /sys/.../pcf50633.../dump_all_regs during the problem and
compared them to dumps taken when I got it to charge fully again, but
nothing showed up.

   The only thing I can think of that might have provoced the problem is
that I was experimenting with modulation of the vibrator brightness.
Something like this:

# for i in {,1,2,1,,1,2,1,,1,2,1,}50 0; do \
echo /sys/class/leds/neo1973\:vibrator/brightness $i; \
sleep 0.2; done

   That's not neccesarily a wise thing to do, but the schematics seems to
have all the required protection components around the vibrator motor.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: battery not fully charging

2009-07-27 Thread pike
Hi

 Since this week, my battery isnt charging to the fullest anymore.

 r...@om-gta02:~# cat /sys/class/power_supply/battery/capacity
 97
 r...@om-gta02:~# cat /sys/class/power_supply/battery/voltage_now
 416
 r...@om-gta02:~# 

ok, sort of consistent with mdbus

 You didn't mention the distro (or I missed it)

sorry, om2009 (didnt think it would matter).

I only have one battery (??) and USB was not connected,
so it can't be HAL being confused about that.
I'll take out the battery for an hour and see if
that fixes the displayed icons.

thanks!
*-pike

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


Re: battery not fully charging

2009-07-27 Thread Sebastian Krzyszkowiak
On Mon, Jul 27, 2009 at 23:30, pikepike-openm...@kw.nl wrote:
 Hi

 Since this week, my battery isnt charging to the fullest anymore.

 r...@om-gta02:~# cat /sys/class/power_supply/battery/capacity
 97
 r...@om-gta02:~# cat /sys/class/power_supply/battery/voltage_now
 416
 r...@om-gta02:~#

 ok, sort of consistent with mdbus

 You didn't mention the distro (or I missed it)

 sorry, om2009 (didnt think it would matter).

 I only have one battery (??) and USB was not connected,
 so it can't be HAL being confused about that.
 I'll take out the battery for an hour and see if
 that fixes the displayed icons.

 thanks!
 *-pike

It *is* HAL confused about that. It see USB as different battery, with
capacity 0% all the time (no matter if it's connected or not). It also
used to see APM emulation as third battery - it displayed 33% then.
It's fixed in SHR, you can fix that by changing from HAL to Internal
in battery meter settings (and after changing - reboot)

-- 
Sebastian Krzyszkowiak
dos

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


Re: battery not fully charging

2009-07-27 Thread pike
Hi

 Since this week, my battery isnt charging to the fullest anymore.

 You didn't mention the distro (or I missed it)
 sorry, om2009 (didnt think it would matter).

 It *is* HAL confused about that. 
 It's fixed in SHR, you can fix that by changing from HAL to Internal
 in battery meter settings (and after changing - reboot)

that was it. in illume, topbar, wrench,
advanced, battery meter, advanced, set
from auto to internal, and reboot.

pulling the battery and praying for
5 minutes didnt help.

thanks!
*-pike

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


battery not fully charging

2009-07-26 Thread pike
Hi

Since this week, my battery isnt charging to the fullest anymore.
This didnt just gradually change, but happened 'all of a sudden'.
It charges - connected to the charger - up to ~50% of its capacity
and doesnt seem to go any further.

Did anyone else experience this ?

curious,
*-pike

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


Re: battery not fully charging

2009-07-26 Thread Paul Fertser
pike pike-openm...@kw.nl writes:
 Since this week, my battery isnt charging to the fullest anymore.
 This didnt just gradually change, but happened 'all of a sudden'.
 It charges - connected to the charger - up to ~50% of its capacity
 and doesnt seem to go any further.

How do you estimate the charge?

-- 
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


Re: battery not fully charging

2009-07-26 Thread jumper dev
for me it goes up to 93% when connected.
maybe with time it downgrades..

On Sun, Jul 26, 2009 at 5:35 PM, Paul Fertser fercer...@gmail.com wrote:

 pike pike-openm...@kw.nl writes:
  Since this week, my battery isnt charging to the fullest anymore.
  This didnt just gradually change, but happened 'all of a sudden'.
  It charges - connected to the charger - up to ~50% of its capacity
  and doesnt seem to go any further.

 How do you estimate the charge?

 --
 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

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