How to get Charging Animation on Android 7 on IMX7.D

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to get Charging Animation on Android 7 on IMX7.D

3,031件の閲覧回数
meetthakkar
Contributor II

We have a IMX7.D running android 7.1.2 with uboot as bootloader. 

How to get a charging animation when device is switched off but user inserts charging pin ?

Currently device boots all the way up to the android which does not allow charging when device is turned off. 

Please let me know if Im missing any information required to answer the question.

ラベル(2)
5 返答(返信)

2,745件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Meet

also may be helpful below solution

Charger mode on i.MX8MQ and Android 8.1 

Best regards
igor

2,745件の閲覧回数
meetthakkar
Contributor II

I will try it; seems promising. Thank you igor. 

0 件の賞賛
返信

2,745件の閲覧回数
meetthakkar
Contributor II

shivanipatel‌ I checked the thread for battery animation in uboot. But it seems rather old. 

we have 

 NXP N7.1.2_2.0.0 u-boot source
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/snapshot/uboot-imx-n7.1.2_2.0.0-ga.tar.gz

0 件の賞賛
返信

2,745件の閲覧回数
shivanipatel
Senior Contributor II

Hi, Meet Thakkar

It would be helpful if you can provide below information:

  • Are you able to charge your device in normal mode? i.e. while the device is switched on and plugged in with the charging pin.
  • When the battery of your device is fully drained, then you plug the charging pin and your device is starting to boot. As per your query, you are not able to charge the device after this. So, can you please check by measuring the battery voltage and let us know whether charging voltage increases or not?

In order to add boot animation in android, you can refer below links:

  1. Question 15 in Android_Frequently_Asked_Questions.pdf
  2. how to get the battery animation in u-boot

Hope, this will help you.

Regards,

Shivani

2,745件の閲覧回数
meetthakkar
Contributor II

HI Shivani, Thank you for reply.

Yes. I am always able to charge the device even after its fully drained. 

 When device is "off" and user plugs in usb cable the PMIC boots up the CPU and uboot is loaded 

after that android OS starts. 

instead of starting android we just want to show charging status, so device does not boot Android OS and become fully functional.

I think this thread is more useful to me I will try to check that.->how to get the battery animation in u-boot