Lines Matching refs:percent
168 set_percent: Set backlight level to the given brightness percent.
171 percent.
176 get_percent: Get backlight percent currently.
215 logging.info("Default backlight brightness percent = %f",
220 "brightness percent. Setting to %f",
255 def set_percent(self, percent):
256 """Set backlight level to the given brightness percent.
259 percent: float between 0 and 100
261 self._try_bl_cmd('--set_brightness_percent=%f' % (percent))
273 def set_resume_percent(self, percent):
274 """Set backlight level on resume to the given brightness percent.
277 percent: float between 0 and 100
279 self._try_bl_cmd('--set_resume_brightness_percent=%f' % (percent))
307 """Get backlight percent currently.
309 Returns float of current backlight percent or zero if no backlight
333 set_percent: Sets the keyboard backlight to a percent.
377 def set_percent(self, percent):
378 """Set keyboard backlight percent.
381 @param percent: float value in the range [0.0, 100.0]
385 str(percent))