🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.mobile.android
7 messages
7 total messages Started by Wendelin Uez Sun, 08 Nov 2026 07:19
battery capacity surveillance
#563
Author: Wendelin Uez
Date: Sun, 08 Nov 2026 07:19
9 lines
1375 bytes
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?
Re: battery capacity surveillance
#582
Author: Nuno Silva
Date: Mon, 09 Nov 2026 10:36
20 lines
1676 bytes
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
Re: battery capacity surveillance
#590
Author: Wendelin Uez
Date: Mon, 09 Nov 2026 12:27
12 lines
1513 bytes
>> 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???  
Re: battery capacity surveillance
#583
Author: Arno Welzel
Date: Mon, 09 Nov 2026 12:48
27 lines
2008 bytes
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
Re: battery capacity surveillance
#585
Author: Theo
Date: Mon, 09 Nov 2026 12:57
25 lines
2052 bytes
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
Re: battery capacity surveillance
#586
Author: Arno Welzel
Date: Mon, 09 Nov 2026 13:57
27 lines
2302 bytes
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
Re: battery capacity surveillance
#591
Author: Nuno Silva
Date: Mon, 09 Nov 2026 17:43
28 lines
1892 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads