How To Restart The Dock In Mac OS When It Crashes

Just the other day I was running a whole load of applications on my Macbook Pro, and I saw my memory usage and CPU usage spike up (it was due to a couple of Adobe AIR applications – Mac OS tends to be bad at running Flash and AIR). And right about then, I had leave, so I had to put my Macbook to sleep. Later, when I tried to wake up my Macbook, I found that my dock had disappeared and I couldn’t bring it back up. Using cmd+tab still worked and my various applications were still running fine, so I knew that it was a problem with the dock.

So I tried killing it with the following command. Just open Applications>Terminal, and type in the following command:

killall -KILL Dock

What this command does is to kill the dock process, and restart it. Voila – you now have a working dock again!

​Read More

How To Improve Laptop / Notebook Battery Lifetime

One of the easiest things to kill is the battery of a laptop/notebook. In fact, it is common that some people may notice their laptop battery life growing shorter as the weeks go by.

One reason why this is so is because of the way the battery is being used. To ensure that batteries last for the long term, they need to be used properly. Most people keep their notebooks plugged in all day, and whenever they can find a power socket.

Laptop Batteries

They may unplug them to move around, i.e. to go to school, home, or work. But once they arrive, the first thing they do is take out their AC adapters and plug in again. This means that on most days the notebook battery is going from 100% charged to 97% or 98%, and then being recharged to 100% again. This makes the batteries wear out prematurely, as each time you do this, you add another charge cycle to the battery.

Batteries have lifespan determined by the number of charge cycles they can take, and with each charge cycle, the battery’s lifespan is affected.

This is especially true for users who put their laptops on ‘stand-by’ mode, as ‘stand-by’ mode consumes minute amounts of battery, and once plugged in, the battery will charge again.

Lenovo users won’t have this problem though, as Thinkpads (I’m not sure about the other models), provide options to change battery charging behaviour. For instance, I can set my battery to charge only when it’s below 80% – so unless it’s below 80%, the battery will never be charged. And once it drops below 80%, the battery will continue to charge until it is at full 100% capacity.

Of course, I can also change the options so that no matter what, my battery will always charge to 100%.

With proper battery usage, you can expect to see your battery’s lifespan to be prolonged, and reap the maximum from your battery.

​Read More