loadPowerSources

private fun loadPowerSources(sourceList: List<PowerSource>): List<PowerSource>

Loads and converts a list of PowerSource objects from raw oshi.hardware.PowerSource data.

Return

A list of PowerSource objects.

Parameters

sourceList

A list of raw power source information.