This commit removes the hardcoded TLP_THRESHOLD value and instead read
the value from the filesystem, much like it is currently done for the
power draw, charge, and max charge.
By doing this, a more consisten charge time can be calculated, as
batteries can now have their own thresholds defined.
This commit removes the hardcoded TLP_THRESHOLD value and instead read the value from the filesystem, much like it is currently done for the power draw, charge, and max charge. By doing this, a more consisten charge time can be calculated, as batteries can now have their own thresholds defined.