We are developing a Lighting keyboard(C78A) product that can charge apple devices, with the function of displaying the current power level of apple devices. A problem was encountered during development.
When our keyboard is connected, the apple device is charged, let the apple device enter the lock screen status, the apple device will then sleep and the screen will go black. At this time, the iAP2 channel will be closed, causing our keyboard fail to communicate with Apple devices, but also cannot obtain real-time device power information. On the other hand, when the apple device wakes up from hibernation, the keyboard cannot initialize the iAP2 channel again because the keyboard has always been powered on, which makes it unable to be recognized by the apple device.
So, we want to know if there is a way to keep the iAP2 channel in hibernation when the apple device is connected to our keyboard and charged, so that the above problem can be solved.Thanks .