Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions providers/base/units/power-management/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ requires:
cpuinfo.other != 'emulated by qemu'
user: root
environ: RTC_DEVICE_FILE
command:
command:
if [[ -n "$RTC_DEVICE_FILE" ]]; then
rtc_path="/sys/class/rtc/${RTC_DEVICE_FILE/#\/dev\/}"
else
Expand Down Expand Up @@ -381,6 +381,7 @@ category_id: com.canonical.plainbox::power-management
_summary: Post warm reboot service check
_purpose: Check there are no failed services after the warm reboot
unit: job
user: root
plugin: shell
command: failed_service_check.sh
estimated_duration: 1.0
Expand Down Expand Up @@ -411,6 +412,7 @@ category_id: com.canonical.plainbox::power-management
_summary: Post cold reboot service check
_purpose: Check there are no failed services after the cold reboot
unit: job
user: root
plugin: shell
command: failed_service_check.sh
estimated_duration: 1.0
Expand Down Expand Up @@ -550,13 +552,13 @@ command: light_sensor_test.sh
_purpose:
This test will check your Ambient Light Sensor work, if you don't have it, please skip this test.
_steps:
1. Make sure "Automatic brightness" is ON in Power settings.
1. Make sure "Automatic brightness" is ON in Power settings.
2. Locate the Ambient Light Sensor, which should be around the Camera.
3. Cover your hand over the Ambient Light Sensor.
4. When the backlight dims, press Enter to start testing.
5. Wait until the message "Has ambient light sensor" is printed on the screen and wave your hand slowly during testing.
_verification:
Did the Ambient Light Sensor values change when you _shook_ your hands over the sensor?
Did the Ambient Light Sensor values change when you _shook_ your hands over the sensor?
Did the Screen backlight also change?
_summary: Test the functionality of the Ambient Light Sensor by checking if sensor values and screen backlight change when covered.

Expand Down
1 change: 1 addition & 0 deletions providers/base/units/watchdog/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ category_id: com.canonical.plainbox::power-management
_summary: Post watchdog reset service check
_purpose: Check there are no failed services after the watchdog triggered
unit: job
user: root
plugin: shell
command: failed_service_check.sh
estimated_duration: 1.0
Expand Down
Loading