Cocktail is a general purpose utility for OS X that lets you clean, repair and optimize your Mac. It is a powerful digital toolset that helps hundreds of thousands of Mac users around the world get the most out of their computers every day.

Get Cocktail here

Maintain your MacBook battery

The battery is the key component of any portable device, but did you know that battery maintenance is important to keeping your MacBook healthy? With proper maintenance and calibration, you can keep your computer's battery performing at its optimum, providing you with more juice when on the go.

Battery Calibration

A Mac portable is just that: a portable computer. It was designed to be plugged and unplugged to allow the battery to discharge and recharge on a normal cycle. As such, if you use your machine plugged in all the time, then it is important that you discharge (or calibrate) your battery every so often. If you rarely use the battery, then Apple recommends completely discharging the battery and charging it again at least once a month. If you use your notebook frequently on the battery and plug it in to "top off" the battery, then a full discharge cycle is required less often.

Follow these steps to calibrate the battery:

1. Plug in the power adapter and fully charge your MacBooks's battery until the light ring or LED on the power adapter plug changes to green and the onscreen meter in the menu bar indicates that the battery is fully charged.

2. Allow the battery to rest in the fully charged state for at least two hours. You may use your computer during this time as long as the adapter is plugged in.

3. Disconnect the power adapter while the computer still on and start running the computer off battery power. You may use your computer during this time. When your battery gets low, the low battery warning dialog appears on the screen.

4. At this point, save your work. Continue to use your computer; when the battery gets very low, the computer will automatically go to sleep.

5. Turn off the computer or allow it to sleep for five hours or more.

6. Connect the power adapter and leave it connected until the battery is fully charged again.


Checking Battery Condition

If you hold down the Option (alt) key on your keyboard while clicking the menu bar battery icon, then you'll see a Condition option. The battery condition can be in either one of four states: Normal, Replace Soon, Replace Now, or Service Battery.

Normal means that the battery is operating properly. 

Replace Soon means that the battery is functioning normally, but is currently holding less charge than it did when new, and may need replacing.

Replace Now means that the battery is functioning normally, but holds significantly less charge than the battery when new, and needs replacing before it could possibly do harm to your hardware.

Service Battery means that the battery isn't functioning properly or your computer has noticed a change in its behavior. You should take your battery and/or computer in for servicing if this problem continues after a few restarts.  


Long-term Storage

If you don't plan on using your Mac portable for more than a six-month time period, then you'll want to properly store your Mac's battery with a 50% charge. This will ensure that it won't fall into a deep-discharge state, or lose capacity and therefore have a shorter life.

Temperature is also a huge factor when storing your computer. You'll want to ensure your Mac and its battery are stored in an environment where the temperature is between 50ºF and 95ºF (10ºC and 35ºC). Anything more or less, and you could seriously damage your battery over a long period of time.

What to do when your computer won't turn on

One of the scariest things that can happen to your Mac is a failure to turn on at all. You press the power button and nothing happens - no startup sound, no light, nothing. If this happens, you can check several things before hauling your Mac to the nearest Apple Store for repair.

First, trace the entire flow of electricity to your Mac. Check your Mac's power cord to ensure it is firmly seated where it connects to the computer as well as where it plugs into the wall. If it goes through an outlet strip or a UPS, make sure that's also connected and turned on. Also check that any surge protectors are still working - a power surge might have knocked them off. You can confirm that an outlet is good by plugging in something else, such as a light. If the outlet and all cable connections check out, make sure the power cord has no crimps, breaks, or other damage.

Once you've established that your AC power path is good, it's time to look at your Mac itself. Unplug everything you can - not the power cord, your mouse and keyboard if they're wired, and your monitor if it's not built in - but disconnect everything else and try pressing the power button again. If your Mac turns on, you know that one of your peripherals was at fault.

If your Mac doesn't turn on, it's worth trying to reset your Mac's SMC (System Management Controller), a chip that manages a number of hardware functions - including the operation of the power button. Directions vary by Mac model; see Apple's instructions for details (http://support.apple.com/kb/ht3964).

If you have a Mac laptop, its battery should last through most power outages, so you may not notice that you have a power-related problem until the battery runs out, at which point your Mac might simply appear to be dead. So try all the above tips, but also check your power adapter. If you have an AC cable attached to the adapter (as opposed to a plug going directly into the wall), make sure that cable is securely connected. If you have access to another AC adapter, switch to it briefly - that will tell you whether the original adapter is bad or whether it's something in your Mac itself.

Still no luck? In that case, it's time for professional help. An Apple Store or authorized repair center should be able to diagnose and fix the problem.

Window snapping in macOS Sierra

Mac users now have a window snapping feature built directly into macOS Sierra, which allows users to easily snap windows to aspects of the screen or against one another. This offers a nice way to quickly and precisely align windows, and it's more or less the Mac equivalent feature of window snapping from the Microsoft Windows world.

Window snapping on the Mac will snap windows to any of the following targets: edges of other windows, the menu bar, the top of the Dock (if visible), and the sides of the screen.

With several windows open on the Mac display, grab one and drag it against a snap target. You'll "feel" the dragged window snap to place, repeat with additional windows as desired

The window snapping ability in macOS is a bit more full featured than what is offered in the Windows world, with a broader range of snap targets. You can snap however many windows together that you can fit on screen, regardless of their size.

While you can't completely turn off window snapping, you can temporarily disable window snapping in macOS with a keystroke action when moving windows around on the screen. To temporarily disable window snapping, hold down the Option (alt) key when you're dragging and moving windows around.

Essential keyboard shortcuts for the Open and Save dialog

The next time you end up in an Open or Save dialog window, try out a few of these helpful keyboard shortcuts to make navigating around the dialog and filesystem much faster.

Command+D
Selects Desktop as the destination.

Command+Shift+H
Sets the Home directory as the destination.

Command+Shift+A
Sets Applications directory as the destination.

Command+Shift+.
Toggle invisible items.

Command+Shift+G
Bring up Go To Folder window.

Command+R
Open the selected item in the Finder.

Command+F
Move the cursor to the Find field.

Command+.
Close the Open/Save dialog window.

Spacebar
View the selected item in Quick Look.

Tab
Tab key auto-completes paths and file names from the aforementioned Go To Folder window.

Fine-tune volume and brightness in macOS

When you use the volume controls on a Mac to increase or decrease the sound coming from your speakers, those levels increment in whole steps on a scale from one to ten, press the up volume button once, for example, and the volume goes up one step out of ten. However…

If you hold down Shift and Option (Alt) before pressing the volume keys on your keyboard, you could adjust the volume in quarter-steps instead of whole ones. In addition to using this Shift and Option (Alt) combination to control the volume more finely, you can also use it when you adjust the brightness on your Mac. Press Shift and Option (Alt), then press one of the brightness keys on a Mac keyboard, and you'll notice that the brightness changes in quarter-steps. This is nice if you find your display is just a bit too bright or too dim.