system.hardware package

Subpackages

Submodules

system.hardware.base module

class system.hardware.base.HardwareBase[source]

Bases: ABC

configure_modem()[source]
static get_cmdline() Dict[str, str][source]
abstract get_current_power_draw()[source]
abstract get_device_type()[source]
abstract get_gpu_usage_percent()[source]
abstract get_imei(slot) str[source]
get_modem_data_usage()[source]
get_modem_nv()[source]
abstract get_modem_temperatures()[source]
get_modem_version()[source]
abstract get_network_info()[source]
get_network_metered(network_type) bool[source]
abstract get_network_strength(network_type)[source]
abstract get_network_type()[source]
abstract get_networks()[source]
abstract get_nvme_temperatures()[source]
abstract get_os_version()[source]
abstract get_screen_brightness()[source]
abstract get_serial()[source]
abstract get_sim_info()[source]
abstract get_som_power_draw()[source]
abstract get_sound_card_online()[source]
abstract get_subscriber_info()[source]
abstract get_thermal_config()[source]
abstract initialize_hardware()[source]
static read_param_file(path, parser, default=0)[source]
abstract reboot(reason=None)[source]
recover_internal_panda()[source]
reset_internal_panda()[source]
static set_bandwidth_limit(upload_speed_kbps: int, download_speed_kbps: int) None[source]
abstract set_power_save(powersave_enabled)[source]
abstract set_screen_brightness(percentage)[source]
abstract shutdown()[source]
abstract uninstall()[source]
class system.hardware.base.ThermalConfig(cpu, gpu, mem, bat, ambient, pmic)

Bases: tuple

ambient

Alias for field number 4

bat

Alias for field number 3

cpu

Alias for field number 0

gpu

Alias for field number 1

mem

Alias for field number 2

pmic

Alias for field number 5

Module contents