Calchan

Results 2 issues of Calchan

**Describe the bug** As per [this commit](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.4.77&id=19f6d91bdad42200aac557a683c17b1f65ee6c94) read access to `/sys/class/powercap/intel-rapl*/*/energy_uj` for non-privileged users is no longer allowed. This appeared in kernel 5.4.77. Since `gamemoded` should be started as a...

This fixes a typo and adds computation of the remaining battery time when `energy_now` is exposed Before patch: ![mangohud-before](https://user-images.githubusercontent.com/119488/191610374-a7009432-505a-480d-b832-add1a13c4943.png) After patch: ![mangohud-after](https://user-images.githubusercontent.com/119488/191610290-4f338a32-35b6-46ac-897e-8a6b8710fd5e.png)