[Android]
使用s5p4418关机充电显示
嵌入式系统
 
2819 人阅读
|
1 人回复
|
2016-05-16 
 
 
 
 
TA的每日心情  | 奋斗 2016-5-17 08:35 | 
|---|
 
  签到天数: 2 天 连续签到: 1 天 [LV.1]初来乍到 
童生 
 
 
	- 积分
 - 51
 
 
 
 
 | 
 
 
在uboot中打开#define CONFIG_HAVE_BATTERY功能,但是关机充电只刷新了5次后就关机了,下面是串口打印显示结果 
mmc0(part 0) is current device 
BAT: state_of_charge(SOC):0% 
     voltage: 4.101666 [V] (expected to be 2250 [mAh]) 
BAT: state_of_charge(SOC):0% 
     voltage: 4.102333 [V] (expected to be 2250 [mAh]) 
BAT: state_of_charge(SOC):0% 
     voltage: 4.102333 [V] (expected to be 2250 [mAh]) 
VUSB_DET     : 0 
BAT_DET      : 1 
poweroff_his : 0x10  
poweron_his  : 0x01  
chg_state    : 0x43,    chrg_type        : ADP 
avg_voltage  : 4102110, shutdown_ilim_uV : 3660000 
DONE: Logo bmp 240 by 320 (3bpp), len=230456  
DRAW: 0x47000000 -> 0x46000000  
DONE: Logo bmp 240 by 320 (3bpp), len=230456  
DRAW: 0x47000000 -> 0x46000000  
RGB: display.0 
...... 
DONE: Logo bmp 240 by 320 (3bpp), len=230456  
DRAW: 0x47000000 -> 0x46000000  
..... 
DONE: Logo bmp 240 by 320 (3bpp), len=230456  
DRAW: 0x47000000 -> 0x46000000  
..... 
DONE: Logo bmp 240 by 320 (3bpp), len=230456  
DRAW: 0x47000000 -> 0x46000000  
. 
## ilim_adp:0x18, ilim_usb:0xe0, ichg:0xce  
## power_depth:0, power_key_depth:0, chrg:ADP  
## voltage_uV:4102333, shutdown_ilim_uV:3660000  
Power Off 
 
 |   
 
  
  
  
 
 
 | 
| 
 | 
| 
 | 
| 
 | 
 | 
 
 
 
TA的每日心情  | 奋斗 2016-5-17 08:35 | 
|---|
 
  签到天数: 2 天 连续签到: 1 天 [LV.1]初来乍到 
童生 
 
 
	- 积分
 - 51
 
 
 
 
 | 
沙发
 
 
afei8856 
 
发表于 2016-5-18 14:06:59
|
只看该作者
 
 
 
 
 
 | 
| 
 | 
| 
 | 
| 
 | 
 |