wattz icon indicating copy to clipboard operation
wattz copied to clipboard

Add the option in mA

Open deaveipslon opened this issue 1 year ago • 5 comments

Add the option to display in mA (MILIAMPERE), either positive if it is in the socket charging, or negative if it is out of the socket discharging. And also add the option of the icon update interval.

deaveipslon avatar Aug 02 '24 18:08 deaveipslon

I initially used dynamic units, but never observed values small enough to actually display mA/mW/etc. This does overlap a bit with another request to increase precision in the main app view, so this might become more relevant.

dubrowgn avatar Aug 10 '24 11:08 dubrowgn

I initially used dynamic units, but never observed values small enough to actually display mA/mW/etc. This does overlap a bit with another request to increase precision in the main app view, so this might become more relevant.

I'd be very grateful if you could add this option, so it's easier to know how much the charger is charging and how much the phone is draining. Thanks for taking it into consideration.

deaveipslon avatar Aug 10 '24 11:08 deaveipslon

I was going to request this. Thank you.

HT-7 avatar Nov 11 '24 13:11 HT-7

I'd be very grateful if you could add this option, so it's easier to know how much the charger is charging and how much the phone is draining. Thanks for taking it into consideration.

It won't tell you how much the charger is charging and how much the phone is draining cause it tells you half the story everytime. Actually mA consumption will change through different battery percentages cause the phone has to draw more current at lower battery since the voltage is lower. Hence why mA measurements make NO sense, and I'm happy this app is the way it is

LeonardoB25 avatar Dec 13 '24 09:12 LeonardoB25

I am not sure if this is a valid use case for mA. When limit to 80% is enabled and the battery reaches 80%, the current can drop to < 10 mA. Wattz can only show 0.0A, while some apps are able to show non-zero small values.

BatteryBot

Image Image

Termux
$ termux-battery-status
{
  "health": "GOOD",
  "percentage": 80,
  "plugged": "PLUGGED_AC",
  "status": "NOT_CHARGING",
  "temperature": 25.200000762939453,
  "current": 7500
}
$ termux-battery-status
{
  "health": "GOOD",
  "percentage": 80,
  "plugged": "PLUGGED_AC",
  "status": "NOT_CHARGING",
  "temperature": 25.600000381469727,
  "current": -625
}

As far as I know, termux-battery-status displays in µA, so it is even possible to drop below 1 mA.

lantw44 avatar Feb 28 '25 16:02 lantw44