Sapphire Battery Utility
Battery power is not infinite. It is important to ensure that your users don’t find themselves without any battery power right when they need it the most. The Sapphire Battery Utility allows you to read the current battery level and inform the user whether the device will require recharging. This will ensure the user can plan ahead and keep the device charged up.
You can download the latest demo version to see a fully working demo which you can reuse within your application as you see fit. This can be found on the download pages. The demo versions are fully functional and simply contain a popup message from time to time. These are ideal if you are selling your application to the client where you can be confident the application will work in practice and not just theory.
Click here to view a third party article on how to use the Sapphire Battery Utility
Implementation couldn’t be easier, simply declare the DLL function as a function within your application and call it as though you wrote it yourself. Here’s a sample how to ready the battery level within VB.NET.
Dim lPercent As Long
lPercent = BatteryPercent()
If lPercent = 255 Then
lblBattery.Text = " Battery Charging...."
lblBattery.Text = " Battery level is " & lPercent & " %"
Royalty Free Licence
When you purchase a developer’s licence, you are free to use the DLL in any number of your projects and deploy it to all the devices to your clients. There’s no need for royalties based on the scale of your project, just a one off fee. You will also get 12 months email support and discounted upgrades for future developments.
Developer's Licence cost 49 GBP.