查看: 2233|回复: 1

使用s5p4418关机充电显示

[复制链接]
  • TA的每日心情
    奋斗
    2016-5-17 08:35
  • 签到天数: 2 天

    连续签到: 1 天

    [LV.1]初来乍到

    发表于 2016-5-16 17:44:04 | 显示全部楼层 |阅读模式
    分享到:
    在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]初来乍到

     楼主| 发表于 2016-5-18 14:06:59 | 显示全部楼层
    知道什么原因吗?
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /2 下一条



    手机版|小黑屋|与非网

    GMT+8, 2024-4-26 07:13 , Processed in 0.121629 second(s), 16 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.