Skip to content

[BUG] Issue with negative and positive values for Voltage, Current, and Power. [FEATURE REQUESTS] Request to increase the accuracy of values and requests to adjust the value update interval. #68

@universish

Description

@universish

Feature Requests

  1. Could you develop a version that displays current, voltage, power, and temperature values in detail as decimal numbers to one thousandth of a unit (e.g., ,** with three digits after the decimal point)?

Issue related to this feature request:

When selecting 1x, the ampere, voltage, and power values appear as 0.
It always shows 0 at 0.001x.
It shows correctly at 1000x, but it is not accurate. It should show decimal values at a rate of 1 in 100.

  1. Add a selection setting for the update time in milliseconds for the values displayed on the screen related to the battery.
    For example: Update these values every "........" milliseconds.
    If you want it to update every 1000 milliseconds, write 1000 in the space.
    If you want it to update every 10 seconds, write 10000 in the space.
    If you want it to update every 1 millisecond, write 1. Of course, no one wants it to be that exaggerated. Therefore, a minimum value can be set. For example, it can be restricted by saying "the minimum time value can be 60 milliseconds." 60 is ideal. 100 is ideal for some systems but not for others. 60 milliseconds is ideal for many data sets. Those who want to can also enter a value of 100 milliseconds.
    The maximum value can be limited to 60,000 milliseconds.
    It can also be limited to multiples of 10. For example: 60, 70, 80, 90, 100, 110, 120, .........., 960, 970, 980, 990, 1000, 1010, ........, 59990, 60000, etc.
    Alternatively, it can be limited to multiples of 1000 for values above 1000 ms.
    For example: 60, 70, 80, 90, 100, 110, 120, .........., 960, 970, 980, 990, 1000, 2000, 3000, 4000, ........, 58000, 59000, 60000, etc.

BUG Report:

Furthermore, it displays positive (+) values while the battery is discharging. However, the battery is decreasing. It should display negative (-) values. Don't you think this is logically and mathematically correct? Because this is a battery application. It is not the phone's power consumption application or the charger's application. It displays the data of the battery hardware in the phone.
Similarly, when the phone is plugged in and the battery is charging, it also displays negative (-) values.
It seems to be displaying the energy values consumed by the phone's battery. For example, when the phone is not connected to the charger, it shows a value of +1.4W. When connected to the charger, it shows -9.1W. That's strange. Shouldn't it be the other way around? When not connected to the charger, it should show a value of -1.4W, because it shows the power drawn from the battery. The same applies to amperage and voltage. When the phone is not charging, it draws current from the battery, and the battery's voltage value decreases, so it should display a negative (-) value. When plugged into the charger, it also displays -9.1W. This is also strange. When plugged in, energy is stored in the battery, so the battery is receiving current, and because of the current, the battery's voltage value also increases, so the power value, amperage value, and voltage value should be positive. Because energy is being added to the battery, the battery's energy is increasing. Therefore, the -9.1W in my example is wrong. It should be +9.1W.
Yes, the battery also supplies power to the phone while charging. However, since the incoming energy is greater than the outgoing energy, it continues to charge and store power. For example, if my charger is 10.5W (5V 2.1A) and the phone draws 1.4W of power, the incoming is +10.5W and the outgoing is -1.4W;
+10.5-1.4=+9.1W
This is a battery information software.
It is not a charger information software that provides information about the energy values coming from a charger. Therefore, it is normal for it to display +9.1W. If it were a charger information software, it would display +10.5W on the screen.
Since this is a battery information software, positive values must be displayed as negative, and negative values must be displayed as positive.

To do this, you only need to make a small change to the software's algorithm. Multiplying the values displayed on the screen by -1 will suffice.

realme c67
android 15 sdk 35
app v1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions