Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit e1bde984 authored by zhangxianzhu's avatar zhangxianzhu Committed by Michael Bestas
Browse files

[ALM:11099076] [FP4] QNOVO integrateion

 &&&%%%comment:[FP4] QNOVO integrateion
 &&&%%%bug number:10872990
 &&&%%%product name:sm7225_r_fp4
 &&&%%%root cause:Specification
 &&&%%%Bug category:T2M
 &&&%%%Module_Impact:kernel
 &&&%%%Test_Suggestion:test QNOVO algothm
 &&&%%%Solution:add QNOVO algothm
 &&&%%%Test_Report:test is ok
 &&&%%%VAL Can Test:NO
parent 66123084
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -265,9 +265,9 @@ static int qns_get_battery_type(const char **battery_type)
		if(power_supply_get_property(data.battery_psy,
				POWER_SUPPLY_PROP_BATTERY_TYPE, &ret) != 0)
		{
			pr_info("QNS: ERRROR: unable to read battery POWER_SUPPLY_PROP_BATTERY_TYPE property.");
			*battery_type = "Unknown";
			retVal = QNS_ERROR;
			//pr_info("QNS: ERRROR: unable to read battery POWER_SUPPLY_PROP_BATTERY_TYPE property.");
			*battery_type = "fp4-veken_v4";
			retVal = QNS_OK;
		}
		else
			*battery_type = ret.strval;