Pages

Saturday, March 19, 2011

Zeam Launcher improves battery life on Android

I have recently come across Zeam Launcher. After trying out the most popular ones - Launcher Pro and ADW - I thought it would be just another minor launcher and a waste of time. A waste of time considering that both launchers I tried earlier happened to be battery vampires and the phone's lifetime on a single charge was significantly reduced, compared to when I was using stock TwLauncher that came with Galaxy S.
With TwLauncher and carefully selected widgets and services, enabling radio only when needed, I could make full 7 days of battery life on a single charge. This was the maximum period so far, with normal phone usage, including phone calls, SMS, taking photos, uploading to Facebook, checking train schedule online, etc.
Another interesting thing to add is that some widgets appeared to draw battery power so I tended not to use them. One of these was excellent CalenGoo monthly widget. It presents a nice monthly view of calendar events and tasks on one screen. Very convenient and provides easy overview of almost everything I plan to do during the month. However, because of lowering the battery life, I did not use that widget and had to live with others that did half the job.
Now, the "experiment" happened in a standard way: I disabled all the radio on the phone. Zeam was set as the default launcher. Just for the fun of it, I also added CalenGoo monthly widget to it in order to test the combination of both of these components. After being fully charged, the phone wakes me up sometimes in the middle of the night with a bleep that indicates that it wants me to disconnect it from the power source. I do that and, after five hours, I wake up, turn the phone on and continue using it in my standard fashion during the day. The surprising thing was that when I turned the phone radio on, the battery was still at 100%. This was a pretty good indicator considering that bad components (widgets, launchers, services...) used to drain heaps of power even though I never touched the phone during that period. The worst ever was Launcher Pro that suprised me, first thing in the morning, with battery being at around 70% only a few hours after being fully charged and not used in the meantime! So, battery being at 100% with Zeam, and even having CalenGoo widget (that used around 15% when it was running on TwLauncher, in identical scenario) was a great sign.
After using the phone normally - only a few photos taken, sms sent/received, and phone on during the day the battery was at 95% after 17 hours! At this point I am turning the phone off (cause I like not being woken up by phone calls on weekend) so I assume battery usage will, pretty much, remain where it is. Even if it drops a notch or two, it will still be less than half of what TwLauncher uses. All other widgets are still there so this means I even have an extra widget now. And not just any widget - I got my ultimate calendar widget that displays both events and tasks in a monthly grid view.
Now I wonder how long the battery will last with the new launcher. If the record was 7 days so far, and currently the phone uses less than half of what it used to, should I, then, hope to make it to two weeks?! :)
I will update the post with the info during this week  (or maybe next, if the battery goes for longer :).

If you're looking for more tips on how to improve Android phone's battery life (I use Galaxy S), read my Battery Tips for Android.

UPDATE: After two days of light phone use, the battery drain was steady at around 6% per day for light usage! I love this little piece of software (Zeam). Totally recommended if you want to spend your battery charge on meaningful things instead. :)

Facebook XMPP Chat

FacebookChat is a plugin for Pidgin that allows connecting to Facebook chat from Pidgin instant-messaging application. However, as of recently, some changes at Facebook have caused this plugin to be unable to participate in chat sessions as a transmitter. It would happily receive messages but could not send any. The message that would pop up was

"you are not permitted to do that"

Looking for a solution, I've just discovered that Facebook has enabled XMPP- (Jabber-) style chat. At the page below you can find instructions on how to set your chat client to connect to Facebook chat directly.

http://www.facebook.com/sitetour/chat.php

Friday, March 18, 2011

Mercurial with IIS and Active Directory

Here is a 4-part series that explains how to set up Mercurial on IIS, using Active Directory for authentication and authorization:

http://www.endswithsaurus.com/2010/05/setting-up-and-configuring-mercurial-in.html

After implementing the security with IIS/AD and Mercurial, Keyring extension can be enabled in TortoiseHg so that you do not have to type in username/password combination every time a request is made to the server. Aside from enabling the extension, add something like this to your repository settings:

[ui]

username = your_username

 

[extensions]

mercurial_keyring =

[auth]

default.schemes = http https

default.prefix = your_serwver.local/path_to_hg

default.username = your_username

 

In [auth] section, "default" refers to the name of the remote repository which is, in this case, default.

Thursday, March 17, 2011

Free IT (and Development) Books

A reminder about a very useful collection of free IT-related ebooks at Devx.com:

http://www.devx.com/ebook

Covering topics like latest technologies (cloud), software development, IT management, security, ITIL etc. A few useful guides I've used for reference in everyday work like

  • Breaking down software development roles

Tuesday, March 01, 2011

Richness of Communications Channel

I often refer to this graph when talking about different media and communications channels. It is an important one in many different aspects. Here is the link to the whole article, and the chart is below. Originally, it appears in many texts about Scrum and Agile practices.