Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#46 closed defect (duplicate)

Frame: Missing Battery not represented

Reported by: mungewell Owned by: marcopg
Priority: Low Milestone:
Component: Sugar Version: 0.83.x
Severity: Minor Keywords:
Cc: Distribution/OS: Ubuntu
Bug Status: New


The battery icon in the frame has no way of representing a missing or defective battery.

This might be difficult as HAL doesn't appear to list the 'battery station', but rather the battery itself. The battery listing does not appear when the battery is removed.

Attachments (1) (840 bytes) - added by mungewell 15 years ago.
commands to create 'fake' battery

Download all attachments as: .zip

Change History (7)

comment:1 Changed 15 years ago by mungewell

  • Summary changed from Frame: Missing Battery to Frame: Missing Battery not represented

comment:2 Changed 15 years ago by mungewell

This is a feature of my Thinkpad, and presumably other laptops.

When the battery is removed the whole HAL entry is removed, rather than just setting 'battery.present = false'. Sugar should handle this situation.

Using a fake battery (HAL commands) I can confirm that the system recognises 'battery.present = false' to mark battery as absent.

Changed 15 years ago by mungewell

commands to create 'fake' battery

comment:3 Changed 15 years ago by marcopg

  • Bug Status set to Unconfimed
  • Distribution/OS set to Ubuntu
  • Milestone set to 0.84
  • Priority changed from major to Low
  • Severity set to Minor
  • Version set to 0.82.x

comment:4 Changed 15 years ago by erikos

  • Bug Status changed from Unconfimed to New
  • Version changed from 0.82.x to 0.83.x

There is as well some info in #45 - might actually be a dup

comment:5 Changed 15 years ago by erikos

  • Resolution set to duplicate
  • Status changed from new to closed

Ok there seem to be some inconsistency here. When I boot and no battery is present, and plug the batery in after sugar is started the device is not added to the frame. One should look deeply at what hal is doing and then check the sugar code for all the possible cases. Let's just leave #45 open for that.

comment:6 Changed 11 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.