

low-mah - Lower bound for the allowable design capacity of the battery, in mAh.Battery CapacityĬonfirms that the device's battery design capacity lies within the configured limits.

Progress : 100 Status : Passed Status message : AC Power routine passed. Sample output: Progress : 33 Plug in the AC adapter. diag ac_power - expected_power_type = "USB_PD"įrom cros-health-tool: $ cros - health - tool diag - action = run_routine - routine = ac_power - expected_power_type = "USB_PD" For a concrete example, the battery health configuration data would look like the following: some - config: &some_config In all cases, the data should be set the cros_config path cros-healthd/routines/specific-routine. Configuration data will be listed in the description of routines which support it. If a board runs a configurable routine whose configuration data is not set in cros_config, the routine will fall back to fleet-wide defaults. Some routines use configuration data read from cros_config instead of exposing parameters in the Mojo API. Available routine : floating_point_accuracy Sample output: Available routine : battery_capacity To get a list of all routines available on a given device, run the following command:įrom cros-health-tool: $ cros - health - tool diag - action = get_routines For example, battery-related routines are not available on Chromeboxes, which do not have batteries. Not all routines are available on all devices.
