I don't really understand, but here is what I pulled out:
Your iPhone is not charging, and the problem occurred 2 to 3 days before. When plugged in, the iPhone does not detect the charger connected, but still, the battery percentage does rise very slowly when the iPhone is in Standby mode. However, when turned off, the iPhone does charge quickly, and normally, but when turned off, you can't see the battery percentage.
If this is what you are trying to say, then the problem might be the following:
- Power IC Chip
- Charging Circuitry
- Dock Flex cable
- Dock Connector
- Battery
Possible Solutions:
- You might want to reflow the solder under the chip, heat it up. Or, you have to unsolder the chip, get a new one, and resolder it back onto the board. I don't really know how to do that. (Very low experience in soldering)
- If this is the case, you possibly might need to get a new logic board. I have no idea how to fix this, and this is a problem with one of my iPhone 4S.
- You can get a new dock flex cable off eBay for about 4 bucks, and it is pretty simple to replace it, just follow the instructions found in some YouTube videos.
- If it is the dock connector, this also involves heavy soldering, which I would recommend a professional do this.
- if it is the battery, then just replace it, very simple to do, a guide on YouTube can help you.
These are only POSSIBLE problems, and solutions, you have to diagnose the problem, and see which one it is.
(If I am totally wrong, and if I am just being stupid, please tell me)