Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mobile.android > #33395

Re: How does an app estimate charging current?

From Aardvarks <aardvarks@a.b.c.com>
Newsgroups comp.mobile.android
Subject Re: How does an app estimate charging current?
Date 2016-08-16 05:13 +0000
Organization Aioe.org NNTP Server
Message-ID <nou7ct$gtd$1@gioia.aioe.org> (permalink)
References <nor8g4$jh1$1@gioia.aioe.org> <nosdg8$dku$3@dont-email.me> <nosr4m$1gk$1@dont-email.me>

Show all headers | View raw


On Mon, 15 Aug 2016 17:37:42 +0100, David Taylor wrote:

> A phone can measure the battery voltage, and perhaps the battery 
> temperature to determine end-of-charge.  Many Li-ion cells have these 
> measuring facilities built-in, which is why they have more than two 
> terminals.

My battery is constantly draining even when the little lightning bolt shows
it's charging. This happens with multiple cables & chargers.

All the charging report apps I tried show 0 amps going into the battery:

Charging Report by PlayfulGeeks 
https://play.google.com/store/apps/details?id=com.playfulgeeks.chargingreport

Ampere by Braintrapp
https://play.google.com/store/apps/details?id=com.gombosdev.ampere

BatteryBot Battery Indicator by Darshan Computing, LLC 
https://play.google.com/store/apps/details?id=com.darshancomputing.BatteryIndicator

The phone also gets very hot to the touch, and sometimes shuts off the
charging (as if it was happening) saying the battery was too hot.

I think the microusb connector is the culprit but I don't know (as it's
soldered on in the Samsung Galaxy S3). 

The phone does have two files that I can "cat" with a terminal program, but
they always just have a "0" in them for the current.
http://www.programcreek.com/java-api-examples/index.php?source_dir=Battery-Indicator-Pro-master/src/com/darshancomputing/BatteryIndicatorPro/CurrentHack.java

I can "see" that file by opening up the Android terminal emulator to type:
cd /sys/class/power_supply/battery/
...
cat current_now (No such file or directory)
cat current_avg (0)
cat current_max (No such file or directory)
...
ls batt* (lots of stuff)

I think all the current apps just read one or more of those files.
But HOW does the current get *into* those files?

Back to comp.mobile.android | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How does an app estimate charging current? Aardvarks <aardvarks@a.b.c.com> - 2016-08-15 02:13 +0000
  Re: How does an app estimate charging current? crankypuss <undisclosedUserid@gmail.com> - 2016-08-15 06:31 -0600
    Re: How does an app estimate charging current? David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-08-15 17:37 +0100
      Re: How does an app estimate charging current? Aardvarks <aardvarks@a.b.c.com> - 2016-08-16 05:13 +0000
        Re: How does an app estimate charging current? crankypuss <undisclosedUserid@gmail.com> - 2016-08-16 05:28 -0600
          Re: How does an app estimate charging current? Aardvarks <aardvarks@a.b.c.com> - 2016-08-16 13:43 +0000
            Re: How does an app estimate charging current? crankypuss <undisclosedUserid@gmail.com> - 2016-08-17 04:59 -0600
        Re: How does an app estimate charging current? David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-08-16 17:07 +0100
        Re: How does an app estimate charging current? Nigel Wade <nmw@local.domain> - 2016-08-17 15:50 +0100
          Re: How does an app estimate charging current? Aardvarks <aardvarks@a.b.c.com> - 2016-08-17 17:12 +0000
      Re: How does an app estimate charging current? crankypuss <undisclosedUserid@gmail.com> - 2016-08-16 05:22 -0600
        Re: How does an app estimate charging current? pamela <invalid@nospam.com> - 2016-08-16 21:07 +0100

csiph-web