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


Groups > comp.mobile.android > #156876 > unrolled thread

battery capacity surveillance

Started by"Wendelin Uez" <wuez@online.de>
First post2026-11-08 08:19 +0100
Last post2026-11-09 14:57 +0100
Articles 7 — 4 participants

Back to article view | Back to comp.mobile.android


Contents

  battery capacity surveillance "Wendelin Uez" <wuez@online.de> - 2026-11-08 08:19 +0100
    Re: battery capacity surveillance Nuno Silva <nunojsilva@invalid.invalid> - 2026-11-09 10:36 +0000
      Re: battery capacity surveillance "Wendelin Uez" <wuez@online.de> - 2026-11-09 13:27 +0100
        Re: battery capacity surveillance Nuno Silva <nunojsilva@invalid.invalid> - 2026-11-09 17:43 +0000
    Re: battery capacity surveillance Arno Welzel <usenet@arnowelzel.de> - 2026-11-09 13:48 +0100
      Re: battery capacity surveillance Theo <theom+news@chiark.greenend.org.uk> - 2026-11-09 12:57 +0000
        Re: battery capacity surveillance Arno Welzel <usenet@arnowelzel.de> - 2026-11-09 14:57 +0100

#156876 — battery capacity surveillance

From"Wendelin Uez" <wuez@online.de>
Date2026-11-08 08:19 +0100
Subjectbattery capacity surveillance
Message-ID<11cp7rr$15bpd$2@solani.org>
I'm searching for an app which sends periodically smartphone's battery 
capacity via WLAN. An automation tool should do this but seems to be too big 
overhead.

Another way could be a small server app in the smartphone which can be 
pulled by an background running exe.

Does anyone know such an app?

[toc] | [next] | [standalone]


#156904

FromNuno Silva <nunojsilva@invalid.invalid>
Date2026-11-09 10:36 +0000
Message-ID<11cs7nb$148ja$7@dont-email.me>
In reply to#156876
On 2026-11-08, Wendelin Uez wrote:

> I'm searching for an app which sends periodically smartphone's battery
> capacity via WLAN. An automation tool should do this but seems to be
> too big overhead.
>
> Another way could be a small server app in the smartphone which can be
> pulled by an background running exe.
>
> Does anyone know such an app?

adb?

I haven't used it for that purpose, but it seems to be one of the things
you can query using adb.

Would have to be pull instead of push, I suppose.

-- 
Nuno Silva

[toc] | [prev] | [next] | [standalone]


#156912

From"Wendelin Uez" <wuez@online.de>
Date2026-11-09 13:27 +0100
Message-ID<11csro3$17utg$1@solani.org>
In reply to#156904
>> I'm searching for an app which sends periodically smartphone's battery
>> capacity via WLAN. An automation tool should do this but seems to be
>> too big overhead.
>>
>> Another way could be a small server app in the smartphone which can be
>> pulled by an background running exe.
>>
>> Does anyone know such an app?
> 
> adb?

What is adb???  

[toc] | [prev] | [next] | [standalone]


#156913

FromNuno Silva <nunojsilva@invalid.invalid>
Date2026-11-09 17:43 +0000
Message-ID<11ct0nd$1ehar$3@dont-email.me>
In reply to#156912
On 2026-11-09, Wendelin Uez wrote:

>>> I'm searching for an app which sends periodically smartphone's battery
>>> capacity via WLAN. An automation tool should do this but seems to be
>>> too big overhead.
>>>
>>> Another way could be a small server app in the smartphone which can be
>>> pulled by an background running exe.
>>>
>>> Does anyone know such an app?
>>
>> adb?
>
> What is adb???  

Android Debug Bridge

<https://enwp.org/Android_Debug_Bridge>

Also, this popped up in search results, no idea how portable it is
across Android versions and builds:

(Oh, it does have some commentary on OEM output differences!)

<https://bytescope.dev/en/web-adb/commands/dumpsys-battery/>

-- 
Nuno Silva

[toc] | [prev] | [next] | [standalone]


#156905

FromArno Welzel <usenet@arnowelzel.de>
Date2026-11-09 13:48 +0100
Message-ID<11csfem$186d8$1@dont-email.me>
In reply to#156876
Wendelin Uez, 2026-11-08 08:19:

> I'm searching for an app which sends periodically smartphone's battery 
> capacity via WLAN. An automation tool should do this but seems to be too big 
> overhead.

HomeAssistant suports that - using the HomeAssistant app you can report
the current battery level periodically to a HomeAssistant server. On the
server you can then create diagrams of the last week, month or even
multiple months or years.

For HomeAssistant itself you only need a Raspberry Pi. I wrote an
article about this a while ago, which is still valid, since the
procedure to install it, did not change:

<https://arnowelzel.de/en/home-assistant>

The page is also available in German:

<https://arnowelzel.de/home-assistant>




-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#156907

FromTheo <theom+news@chiark.greenend.org.uk>
Date2026-11-09 12:57 +0000
Message-ID<5Vx*hdhVA@news.chiark.greenend.org.uk>
In reply to#156905
Arno Welzel <usenet@arnowelzel.de> wrote:
> Wendelin Uez, 2026-11-08 08:19:
> 
> > I'm searching for an app which sends periodically smartphone's battery 
> > capacity via WLAN. An automation tool should do this but seems to be too big 
> > overhead.
> 
> HomeAssistant suports that - using the HomeAssistant app you can report
> the current battery level periodically to a HomeAssistant server. On the
> server you can then create diagrams of the last week, month or even
> multiple months or years.

It does that automatically - the app presents the phone battery level as
just another dataset, and Home Assistant is good at storing/graphing
datasets.

But it doesn't record battery *capacity*, ie state of health, only the
current state of charge.  I don't think the SoH is available directly to
apps (without root anyway), which is why apps like AccuBattery calculate it
by watching the charging current during empty-to-full charge cycles, with
various dead reckoning calculations when you aren't quite charging 0% to
100%.  I don't know of any such app which will send the results over the
network.

Theo

[toc] | [prev] | [next] | [standalone]


#156908

FromArno Welzel <usenet@arnowelzel.de>
Date2026-11-09 14:57 +0100
Message-ID<11csjgp$19naf$2@dont-email.me>
In reply to#156907
Theo, 2026-11-09 13:57:

> Arno Welzel <usenet@arnowelzel.de> wrote:
>> Wendelin Uez, 2026-11-08 08:19:
>>
>>> I'm searching for an app which sends periodically smartphone's battery 
>>> capacity via WLAN. An automation tool should do this but seems to be too big 
>>> overhead.
>>
>> HomeAssistant suports that - using the HomeAssistant app you can report
>> the current battery level periodically to a HomeAssistant server. On the
>> server you can then create diagrams of the last week, month or even
>> multiple months or years.
> 
> It does that automatically - the app presents the phone battery level as
> just another dataset, and Home Assistant is good at storing/graphing
> datasets.
> 
> But it doesn't record battery *capacity*, ie state of health, only the
> current state of charge.  I don't think the SoH is available directly to

Yes, this the only information an app can transmit, since there is no
value for "actual capacity".

-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [standalone]


Back to top | Article view | comp.mobile.android


csiph-web