CHG_IN and ON/~OFF Pin detection


is anybody here in the forum which knows if there is a possibility to check the level from the CHG_IN and the ON/~OFF Pin?

You can completely switch off the module only when both GPI’s are low.

So I need these levels to know, when the application is allowed to completely switch off the module.

At the moment I use all GPIO’s (including SPI) for other things.
2 of them are sacrificed to detect these ports. :cry:
Another one is sacrificed to switch 2 SPI-Devices.

In my opinion, there is a bad solution. But at the moment the only one I know.