Thanks for your reply. IO34 gives me the battery voltage, but does not tell me if the battery is being charged or not. So unfortunately it will not suite my use cases, knowing if the battery is being charged or if the board is powered by battery or USB.