Get Mystery Box with random crypto!

Fix our phones ____ Many of us plug our phones in before going | Programming Challenges - How to be a breathtaking Programmer

Fix our phones
____
Many of us plug our phones in before going to bed to let it charge while we're asleep, and we all know how smart our phones are, because they know when the phone is fully charged to stop providing it with power.
Except that there's an issue: the phone is running a lot of tasks in the background and that will cause the phone to lose some of its energy, therefore, the charger will sense that and start charging again, and that can happen many times and can damage our phones.
Your task is:
Write a function that takes the percentage of charge as an input and ask the user if they want to charge in "sleep mode". The sleep mode stops providing the phone with power when it gets to 100% and doesn't start charging again unless it's less 95%, if it gets less 95% then it starts charging until 100%, and keeps repeating the process.