Saturday, December 28, 2013
Friday, December 20, 2013
Get Battery Status from Terminal
I wanted to trigger an application based on the current status of the battery, so I wanted to get the information about the current battery charge status.
Its fairly simple in Linux. 'acpi' is very handy for the purpose. If you haven't installed it yet (you can check it using the code below):
Its fairly simple in Linux. 'acpi' is very handy for the purpose. If you haven't installed it yet (you can check it using the code below):
rpm -qa acpiYou can install it easily using apt-get in Ubuntu or if your machine is rpm based like mine, you can look for it in web.
Tuesday, December 10, 2013
Completed my Particle Viewer App
Finally, my "Particle Viewer" Application is complete. I have been working on it for long and it really feels good to see it running. For those who don't know, its a 3D particle analysing tool that is used to study particle behaviour inside a container. The containers are the STL files which are also rendered using the application.
Particle Viewer |