Battery
Battery copied to clipboard
Add Linux distribution - Elementary OS
Some linux distribution like elementary os has directory named upstream-release
.
In this case cat execution encountered error with upstream-release is directory.
So I replaced cat to grep for exclude check directories.