We want to support android charge function based on iMX6+PF0100 platform but no sense to detect power on event source.
As my understanding,there are some status for android charging.
1.AC on while android is shutdown, system is on then uboot and kernel startup only one charger application run.(/proc/cmdline with parameter androidboot.mode=charger)
2.Charger application will detect power key to enter normal android boot flow (reboot as normal);
Since normal uboot boot and charge-only uboot boot run with same routine, how can distinguish them?
Anyone can help us?