mt6572平台怎么去掉关机充电时显示的百分比?
ipod 目录 自己研究去
最简单的办法,把那几个数字的图片给透明掉就行了!
这个方便 真是简单。哈哈
谢谢指点,我研究去。
谢谢,学习了。
搞定没有 ,最近客户老是提示充电显示不准确 ,要不我也去掉它算了 。
搞定了,去掉别人看不到就不会说了
搞定了 ,怎么都不公布答案啊 。
听说充电不准的,要着电池厂家要一组充电参数,然后把这个参数配置到充电的文件里面,对应的级别都对应以后就OK,不然就不准
额,不好意思,我记得回复了。重新说一下哈
解决办法:在mediatek/external/ipod/bootlogo.cpp修改一下内容if (capacity >= 100)
1401 {
1402 show_logo(37); // battery 100
1403
1404 }else if (capacity < 10){
1405 XLOGD("[ChargingAnimation %s %d]charging_low_index = %d\n",__FUNCTION__,__LINE__, charging_low_index);
1406 charging_low_index ++ ;
1407 show_logo(25 + charging_low_index);
添加部分
#ifndef DISABLE_POWER_OFF_CHARGING_PERCENT_NUMBER
show_animation_number(number_pic_start_0+capacity,1);
show_animation(14, percent_location_rect, percent_pic_addr);
#endif
if (charging_low_index >= 9) charging_low_index = 0;
}else{
UINT32 capacity_grids = 0;
capacity_grids = battery_rect.bottom - (battery_rect.bottom - battery_rect.top) * (capacity - 10) / 90;
XLOGD("[ChargingAnimation %s %d]capacity_grids : %d,charging_animation_index = %d\n",__FUNCTION__,__LINE__, capacity_grids,charging_animation_index);
//background
show_logo(35);
// fill number and line
show_animation_line(36,capacity_grids);
#ifndef DISABLE_POWER_OFF_CHARGING_PERCENT_NUMBER
show_animation_number(number_pic_start_0+(capacity/10),0);
show_animation_number(number_pic_start_0+(capacity%10),1);
show_animation(14, percent_location_rect, percent_pic_addr);
#endif
DISABLE_POWER_OFF_CHARGING_PERCENT_NUMBER宏括起来的地方是修改的
