mirror of
https://github.com/CTCaer/hekate.git
synced 2024-10-30 07:21:44 +00:00
hekate: info: remove input voltage limit
It's a useless metric and in HOS it's used incorrectly.
This commit is contained in:
parent
edf00d8e51
commit
0acdefb32a
1 changed files with 6 additions and 9 deletions
|
@ -313,23 +313,20 @@ void print_battery_charger_info()
|
||||||
|
|
||||||
gfx_printf("%k\n\nBattery Charger Info:\n%k", TXT_CLR_CYAN_L, TXT_CLR_DEFAULT);
|
gfx_printf("%k\n\nBattery Charger Info:\n%k", TXT_CLR_CYAN_L, TXT_CLR_DEFAULT);
|
||||||
|
|
||||||
bq24193_get_property(BQ24193_InputVoltageLimit, &value);
|
|
||||||
gfx_printf("Input voltage limit: %4d mV\n", value);
|
|
||||||
|
|
||||||
bq24193_get_property(BQ24193_InputCurrentLimit, &value);
|
bq24193_get_property(BQ24193_InputCurrentLimit, &value);
|
||||||
gfx_printf("Input current limit: %4d mA\n", value);
|
gfx_printf("Input current limit: %4d mA\n", value);
|
||||||
|
|
||||||
bq24193_get_property(BQ24193_SystemMinimumVoltage, &value);
|
bq24193_get_property(BQ24193_SystemMinimumVoltage, &value);
|
||||||
gfx_printf("Min voltage limit: %4d mV\n", value);
|
gfx_printf("System voltage limit: %4d mV\n", value);
|
||||||
|
|
||||||
bq24193_get_property(BQ24193_FastChargeCurrentLimit, &value);
|
bq24193_get_property(BQ24193_FastChargeCurrentLimit, &value);
|
||||||
gfx_printf("Fast charge current limit: %4d mA\n", value);
|
gfx_printf("Charge current limit: %4d mA\n", value);
|
||||||
|
|
||||||
bq24193_get_property(BQ24193_ChargeVoltageLimit, &value);
|
bq24193_get_property(BQ24193_ChargeVoltageLimit, &value);
|
||||||
gfx_printf("Charge voltage limit: %4d mV\n", value);
|
gfx_printf("Charge voltage limit: %4d mV\n", value);
|
||||||
|
|
||||||
bq24193_get_property(BQ24193_ChargeStatus, &value);
|
bq24193_get_property(BQ24193_ChargeStatus, &value);
|
||||||
gfx_printf("Charge status: ");
|
gfx_printf("Charge status: ");
|
||||||
switch (value)
|
switch (value)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -349,7 +346,7 @@ void print_battery_charger_info()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
bq24193_get_property(BQ24193_TempStatus, &value);
|
bq24193_get_property(BQ24193_TempStatus, &value);
|
||||||
gfx_printf("Temperature status: ");
|
gfx_printf("Temperature status: ");
|
||||||
switch (value)
|
switch (value)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Reference in a new issue