How to get the battery power level in % in Java in a platform independent way?
There is already a question for Windows for this: How to get the remaining battery life in a Windows system?
And for Mac: Get battery level in Java
But how can I do it in a platform-independent way, so it works on Windows, Mac, Linux, and maybe other platforms too?