potato:root:/var/log ###hal-find-by-capability --capability "battery"
/org/freedesktop/Hal/devices/computer_power_supply_battery_CMB1

potato:root:/var/log ###hal-find-by-capability --capability "battery" | xargs 
-n 1 hal-device
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_CMB1'
  linux.subsystem = 'power_supply'  (string)
  info.capabilities = { 'battery' } (string list)
  info.subsystem = 'power_supply'  (string)
  info.product = 'CP345705-01'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_CMB1'  
(string)
  battery.type = 'primary'  (string)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.model = 'CP345705-01'  (string)
  battery.vendor = 'Fujitsu'  (string)
  battery.voltage.design = 10800  (0x2a30)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.design = 5800  (0x16a8)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.serial = '02A-Z080807001663Z'  (string)
  battery.present = true  (bool)
  battery.voltage.current = 12008  (0x2ee8)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.is_rechargeable = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 5020  (0x139c)  (int)
  battery.reporting.last_full = 5509  (0x1585)  (int)
  battery.charge_level.current = 54216  (0xd3c8)  (int)
  battery.charge_level.last_full = 59497  (0xe869)  (int)
  battery.charge_level.design = 62640  (0xf4b0)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.charge_level.percentage = 91  (0x5b)  (int)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.sysfs_path = 
'/sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/CMB1'  (string)
  info.category = 'battery'  (string)
  linux.hotplug_type = 2  (0x2)  (int)

potato:root:/var/log ###hal-find-by-capability --capability "battery" | xargs 
-t -n 1 hal-get-property --key battery.rechargeable.is_charging --udi
hal-get-property --key battery.rechargeable.is_charging --udi 
/org/freedesktop/Hal/devices/computer_power_supply_battery_CMB1 
false
POTATO::~==>gconftool --recursive-list /apps/gnome-power-manager
 /apps/gnome-power-manager/buttons:
  lid_battery = nothing
  hibernate = hibernate
  suspend = suspend
  lid_ac = blank
  power = shutdown
 /apps/gnome-power-manager/keyboard:
  brightness_battery = 50
  brightness_ac = 100
 /apps/gnome-power-manager/actions:
  low_ups = nothing
  sleep_type_ac = suspend
  event_when_closed_battery = true
  critical_ups = shutdown
  critical_battery = nothing
  sleep_type_battery = nothing
 /apps/gnome-power-manager/ambient:
  dim_policy = none
  correction_factor = 50
  correction_scale = 200
  poll_timeout = 60
  enable = true
 /apps/gnome-power-manager/thresholds:
  time_low = 1200
  time_critical = 300
  percentage_low = 10
  time_action = 120
  percentage_critical = 3
  percentage_action = 2
 /apps/gnome-power-manager/ui:
  show_context_menu = true
  show_actions_in_menu = true
  icon_policy = always
  enable_sound = true
 /apps/gnome-power-manager/lowpower:
  on_battery = true
  on_ups = true
  on_ac = false
 /apps/gnome-power-manager/lock:
  hibernate = true
  suspend = true
  gnome_keyring_hibernate = true
  blank_screen = false
  use_screensaver_settings = false
  gnome_keyring_suspend = false
 /apps/gnome-power-manager/timeout:
  sleep_display_ac = 180
  sleep_computer_battery = 0
  sleep_computer_ac = 0
  sleep_display_battery = 900
 /apps/gnome-power-manager/general:
  invalid_timeout = 500
  use_profile_time = true
  ignore_inhibit_requests = false
  check_type_cpu = false
  debug = false
  can_suspend = true
  can_hibernate = true
  use_time_for_policy = true
  network_sleep = false
  installed_schema = 3
  policy_suppression_timeout = 5
 /apps/gnome-power-manager/backlight:
  dpms_method_battery = default
  idle_dim_time = 30
  battery_reduce = true    
  brightness_ac = 100
  idle_brightness = 30
  enable = true
  idle_dim_ac = true
  brightness_battery = 70
  dpms_method_ac = default
  idle_dim_battery = true
  brightness_dim_battery = 50
 /apps/gnome-power-manager/statistics:
  graph_type = power
  show_events = true
  show_axis_labels = true
  smooth_data = true
  data_max_time = 21600
 /apps/gnome-power-manager/notify:
  discharging = false
  inhibit_lid = false
  sleep_failed = false
  low_power = true
  perhaps_recall = true
  low_capacity = true
  estimated_data = true
  fully_charged = true
 /apps/gnome-power-manager/cpufreq:
  policy_battery = ondemand
  policy_ac = ondemand

-- 
Closing and opening lid sometimes leads to screen ENDLESSLY BLINKING
https://bugs.launchpad.net/bugs/368946
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to