I'm using Ubuntu Linux on my Acer Aspire One, actually I'm using Ubuntu on it, by default when you close the lid the laptop goes to "suspend mode", instead I prefer it to go to "hibernate mode" because in suspend it still uses battery juice to keep the contents in RAM, but in hibernate mode it copies all RAM contents to the disk, and then turn off the computer. When you restart from hibernate, the OS reads the contents from the disk and put them in RAM again and you can continue your work from there.
Yes, hibernate is slower that suspend, but I prefer to wait a little and then have more battery to work with.
So, to change the default behaviour, I first need to install Gnome Tweak Tool
Then run it:
Once there select shell and in the "Laptop lid close action on battery" section, choose hibernate from the pull-down menu.
That's it, your laptop will now hibernate when the lid is closed on battery.
Here is a screenshot that may help you: