Skip to content
Guest Big Announcement

Sleep/Standby function not working

Featured Replies

I semi restored my iPad last night but after the semi restoration I noticed that the sleep/standby function is not working and only the power on/off function is working. Even the Lock screen function in Assistive Touch is not working. After searching for an hour over the net I found out that the solution to the problem is to disable the Cover Luck/Unlock option under General Tab. But when I went to general tab I discovered that there is no Lock/Unlock. The only way to make the Lock/Unlock option appear under General is to use Smart Cover but the problem is the Smart Cover Lock/Unlock on my iPad is not working since the screen got replaced because of broken screen. My question is, is there any way to make the Lock/Unlock appear under General Tab even without using Smart Cover? I tried Flex 2 and saw locksAndUnlocksWithCase but only option there are NULL & pass through.

void (*BKSDisplayServicesSetScreenBlanked)(BOOL blanked) = (void (*)(BOOL blanked))dlsym(RTLD_DEFAULT, "BKSDisplayServicesSetScreenBlanked");

and then use:

BKSDisplayServicesSetScreenBlanked(1); // 1 to dim, 0 to undim

"Dim" here means totally turn off the screen. This is what the system uses when e.g. a proximity event occurs while in a call.

  • Author

How to do that? I don't understand

 

void (*BKSDisplayServicesSetScreenBlanked)(BOOL blanked) = (void (*)(BOOL blanked))dlsym(RTLD_DEFAULT, "BKSDisplayServicesSetScreenBlanked");
and then use:
BKSDisplayServicesSetScreenBlanked(1); // 1 to dim, 0 to undim
"Dim" here means totally turn off the screen. This is what the system uses when e.g. a proximity event occurs while in a call.
how to do that? Can you give me the steps?

Make a tweak with it. Search for some lock events and combine it with the functions above

  • Author

Does your iPhone/iPad not sleep after x amount of minutes?

Are your settings correct in Settings > General > Auto-Lock?

Have you also installed any apps or tweaks since?

My ipad auto-locks after 2 minutes. As I mentioned above the Smart Cover lock/unlock on my ipad is not working anymore since the screen got replaced. Some people say the only way to fix this is to disable Smart Cover lock/unlock option under general tab but the problem is that the option is not there since the cover lock/unlock is not working anymore. I hope someone can make a tweak that will make that option appear under general tab even there is no Smart Cover

My ipad auto-locks after 2 minutes. As I mentioned above the Smart Cover lock/unlock on my ipad is not working anymore since the screen got replaced. Some people say the only way to fix this is to disable Smart Cover lock/unlock option under general tab but the problem is that the option is not there since the cover lock/unlock is not working anymore. I hope someone can make a tweak that will make that option appear under general tab even there is no Smart Cover

I have that option in my settings. It's not all that though.

 

I'm using iPad Mini 2, maybe I can send you my files?

  • Author

Yes please! :)

I have that option in my settings. It's not all that though.

I'm using iPad Mini 2, maybe I can send you my files?

yes please! :) here is my email [email protected]
  • Author

Actually no :(. Is that a tweak or some kind of system related file?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.