CHROMIUM: cros_usbpd-charger - Use new Apple Brick ID type

Use the new Apple Brick power supply type when "USB_CHG_TYPE_PROPRIETARY"
is provided by the ec.

On most of our Chromebooks (Samus, and Glados generation), that type
will correspond directly to Apple 1.0A, 2.0A, or 2.4A methods being

This will allow us to gather better metrics in the power manager
when Apple Brick ID method is used on our Type-C Chromebooks.

Signed-off-by: Benson Leung <>

TEST=With an Apple 12W (2.4A), 10W (2.1A), or 5W (1A) power adapter
attached, cat /sys/class/power_supply/CROS_USB_PD_CHARGER1/type
Check that "BrickID" is returned.

Change-Id: Ic6722194adde42d505feb890fa62661a6a27c4fa
Commit-Ready: Benson Leung <>
Tested-by: Benson Leung <>
Reviewed-by: Shawn N <>
1 file changed