Happy New Year – InsomniaX Source Code

Happy New Years!

I hope that everyone had a wonderful 2015 and the new year brings luck to everyone 🙂

InsomniaX Source Code!!!

It has been a long time coming, and after much consideration I have finally decided to release the source code to InsomniaX along with the Insomnia kext.

When I first started building InsomniaX I was still in High School (Australia) and back then I was coding in Apple Script, over the years (9 years) new features were added and InsomniaX grew into an Obj C project, whilst InsomniaX grew so did Insomnia it saw huge forks in its code base and many changes.

As such InsomniaX code base is not the cleanest, and with out much time with full time work now (and family life) it became hard to find time to maintain unless a critical bug was found. The code base also shares code with Sleepless from the result of collaboration so a big thanks goes to the Sleepless developer.

Now that the source code is free to everyone (licence pending) I hope InsomniaX can continue to grow, and some volunteers can help maintain the code and the support desk. If anyone is interested in helping please let me know and after review I will grant access to the Git/Support Desk as required.

All future offical releases will continue to be code signed by my self, and published on this site.

So with out further delay… heres the source code!

https://github.com/semaja2/InsomniaX

InsomniaX – Version 2.1.8 (The Quiet One)

This will hopefully be the last release for sometime, it features some of the most commonly requested features and resolved some critical issues such as the first lid sleep being ignored.

It also features the much requested “Sleep Display” hot key functionality thanks to a very generous donation by Simon, these donations really do help keep the project alive.

You may also notice that this version skips the 2.1.7 build, this is due to the 2.1.7 release being used as a test for many users and being discovered by many users, as such to ensure everyone gets the latest version the 2.1.7 was skipped 🙂

Once again thanks everyone for your support over the years, and I am glad so many people still find the utility useful after so many years!

  • Added sensor detection and alerts should no sensors be detected for safety system
  • Added Sleep Display Hotkey
  • Insomnia is now r11
    • Fixed issue where system did not sleep after unload with lid closed
    • Fixed issue where system would not prevent sleep on lid close for first lid event

InsomniaX 2.1.6

Today we launch the latest release of InsomniaX which brings many requested features along with many bug fixes, hopefully this will be the release that puts InsomniaX back on track after years of being left on cruise-control

In this release we add timer options, refine the power-source options, detection of non-MacBooks and notifications.

One of the biggest aims was to ensure users were notified when Lid/Idle sleep was either enabled or disabled, thus avoiding unexpected behaviours. This is achieved via the Mac OS X notification centre and dialog boxes where the notifications are important (CPU Safety)

A lot of confusion with the previous incarnation of power-source options resulted in the removal of them in the previous release, in this release they are brought back but with a simpler design to reduce confusion.

Another popular feature request was to have a option to disable Lid/Idle sleep for a set period of time, as such I have added timer options for both.

At this stage InsomniaX may not detect the temperature for some devices, but I aim to add detection code in future versions to correctly identify the sensor to monitor.

Changelog

  • Fixed issue with CPU Safety sensitivity
  • Fixed issue where CPU Safety could not be disabled
  • Added notifications for automated functions
  • Added debug preference setting to enabling verbose logging
  • Added “Disable Lid/Idle Sleep For…” functions
  • Added “Disable Lid/Idle Sleep on AC” functions
  • Added detection to disable “Insomnia” functions when not running on a MacBook device
  • Various code corrections