Skip to content

Dasharo Compatibility: USB-C docking station charing

Test cases common documentation

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.
  5. The USB-C docking station connected to the USB-C port.

DUC001.001 USB Type-C laptop charging (Ubuntu 22.04)

Test description

This test aims to verify whether the DUT can be charged using a PD power supply connected to the docking station, which is connected to the USB-C port.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu 22.04

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Disconnect any charger from the DUT.
  5. Connect the charger plug to the docking station.
  6. Open a terminal window and run the following command:

    cat /sys/class/power_supply/BAT0/status
    
  7. Note the results

Expected result

Output of the command should show one of this: Charging or Full. That means laptop is charged properly.

Example output:

Charging

DUC001.002 USB Type-C laptop charging (Windows 11)

Test description

This test aims to verify whether the DUT can be charged using a PD power supply connected to the docking station, which is connected to the USB-C port.

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Disconnect any charger from the DUT.
  5. Connect the charger plug to the docking station.
  6. Open PowerShell and and run the following command:

    Get-WmiObject win32_battery
    
  7. Note the results

Expected result

If BatteryStatus is equal 2, that means laptop is charged properly.

Example part of output:

BatteryStatus               : 2