一、版型介绍
硬件平台:RK3568+RK809+SC8886 typec快充
二、软件环境Linux系统
内核配置
battery {
compatible = "rk817,battery"; ocv_table = <6800 6894 6970 7048 7108 7160 7194
7222 7248 7282 7324 7398 7484 7564
7650 7746 7850 7956 8066 8182 8330>; design_capacity = <2500>;
design_qmax = <2750>;
bat_res = <100>;
sleep_enter_current = <300>;
sleep_exit_current = <300>;
sleep_filter_current = <100>;
power_off_thresd = <6800>; //7000
zero_algorithm_vol = <7000>;
max_soc_offset = <60>;
monitor_sec = <5>;
sample_res = <10>;
virtual_power = <0>;
bat_res_up = <140>;
bat_res_down = <20>;
status = "okay";
}; 备注:此配置对应3.4V关机电压 对应电池曲线图如下 该方案使用的是双节电池,那么这里需要调整 出处:sunychip.com
|