Lenovo Thinkpad W530 – 30 day sleep howto.

I was curious how  the 30 day sleep (S4) feature works. In normal sleep mode(S3) my Lenovo Thinkpad W530 overnight takes around 10% from 9 cell battery.


First of all you will need to have hibernation partition which size is not necessary equal to your RAM memory size. Not many people know that if you have 32GB of RAM and SSD drive you don`t have to allocate 32GB of your precious disk space to hibernate partition to use benefits of deep sleep (S4)!!! To estimate the size of the hibernation partition, you need start all programs you are using in everyday work. Then, go to the  task manager and check how much memory your programs are using. After that, add some reserve for safety and this will give you the size  of  your hibernation partition.

If  the amount of your RAM memory occupied will be smaller than the hibernation partition size, then your computer will use deep sleep. If you put your computer in sleep mode, but RAM memory amount currently in use is bigger than hibernation partition size system will go to sleep, but will not transit do deep sleep. No harm made, so for most of the time it will go to deep sleep, in some extra cases if You will use more memory than usually it won`t transit to deep sleep.

Despite that You have to set 30 day sleep on in Lenovo Power Manager (fig. 1). Click learn more to learn when 30 day sleep is not possible.


Second think is time that has to expire from sleep(S4) to deep sleep(S4) transition. Default is set to 3 hours (180 min). Unfortunately Power Manager does not have option to change this value, but it is possible to modify time in the registry. Proper registry entries are attached to this post.

Let`s start.


First proper settings in Power Manager:



Then You have to run command line as administrator. Click start, enter cmd, at the top of search results right click on cmd and choose run as Administrator – fig 2.



Once in command line run diskpart tool and create partition (fig.3). I assume that You have enough free disk space to create new partition. If You don`t find you how to shrink one of the current partition to free up some space.


In command line enter (bold values will be different in Your system):

diskpart <enter>

In diskpart tool You have to do commands:

list disk – find disk where You want to create new partition.

select disk 0 – choose disk to operate on it.

create partition primary size=32363 – here enter size in MB that You read from Task manager +2MB

list volume – list volumes and identify new created partition

select volume 4 – choose volume that You have created, number You will find on the list shown by previous command

set id=84 – set partition type to hibernate partition

set id=84 override – use this command if set id failed



Verify that everything was created well, by checking if new partition exists and is marked as hibernation partition in computer management->disk management (fig. 4).


That’s all. Reboot Your computer. Now we have to test if S4 sleep is working. To do that I suggest to make transition time short – 1 minute. Run proper registry entry to do so. Unplug power supply, put computer to sleep mode and wait. After around 1 minute sleep mode diode will star blinking You will observe hard disk activity for a while and after that sleep led will turn off, this means computer is in deep sleep mode now.

Don’t forget to change transition time to something reasonable. 90 minutes in my opinion is fair balance to safe hard disk usage and battery usage.


Registry entries with different time values: Sleep to deep sleep transition time change registry files.


Leave a Comment