```ruby
class Coconutbattery < Cask
  url 'http://www.coconut-flavour.com/downloads/coconutBattery_2.8.zip'
  homepage 'http://www.coconut-flavour.com/coconutbattery/'
  version '2.8'
  sha256 'fcfc81214ff26afff9f5c6c7cdc455b23ac898b6918f864b641a9e31526692d4'
  link 'coconutBattery.app'
end
```

Update coconutBattery to version 3.3
user
```ruby
class Coconutbattery < Cask
  if MacOS.version == :lion or MacOS.version == :mountain_lion or MacOS.version == :mavericks
    url 'http://www.coconut-flavour.com/downloads/coconutBattery_3.zip'
    version '3.3'
    sha256 '76996e65eb2ac60a1c35e6aff65b7be8292318c6a74087d3a98552a084ef0152'
  elsif MacOS.version == :leopard or MacOS.version == :snow_leopard
    url 'http://www.coconut-flavour.com/downloads/coconutBattery_2.8.zip'
    version '2.8'
    sha256 'fcfc81214ff26afff9f5c6c7cdc455b23ac898b6918f864b641a9e31526692d4'
  else 
    url 'http://www.coconut-flavour.com/downloads/coconutBattery_2.6.6.zip'
    version '2.6.6'
    sha256 '8d235b237e42754ceda26af2babc160fd23f890d0fe6d7780b86a8e9c6effe42'
  end
  homepage 'http://www.coconut-flavour.com/coconutbattery/'
  link 'coconutBattery.app'
end
```
assistant