Getting all available battery information from terminal

Registered by Ivan Zorin

We shouldn't forget our roots - power of terminal and command-line utilities.
So, there is no any problems to get all available power information, which we can see in BatteryStatus dialog, right from terminal, and in some cases it may be very useful.

Blueprint information

Status:
Not started
Approver:
Ivan Zorin
Priority:
Essential
Drafter:
Ivan Zorin
Direction:
Approved
Assignee:
Ivan Zorin
Definition:
Drafting
Series goal:
Accepted for 0.x
Implementation:
Not started
Milestone target:
milestone icon 0.1.2

Related branches

Sprints

Whiteboard

Proposed options and CLI design:

$ battery-status
battery_BAT0 status:

    Capacity:
        State: charging
        Percentage: 49.9 %
        Capacity: 100.0 %
        Lifetime: -:--
        Charge time: 1:23

    Charge:
        Voltage: 8.0 V
        Rate: 0.0 W
        Current: 39.9 Wh
        Last full: 79.9 Wh
        Maximum: 79.9 Wh

    Information:
        Technology: Lithium Ion
        Vendor: PS1
        Model: DELL 00
        Serial: 15688

$ battery-status --all
battery_BAT0 status:
    State: charging
    Percentage: 49.9 %
    Capacity: 100.0 %
    Lifetime: -:--
    Charge time: 1:23
    Voltage: 8.0 V
    Rate: 0.0 W
    Current: 39.9 Wh
    Last full: 79.9 Wh
    Maximum: 79.9 Wh
    Technology: Lithium Ion
    Vendor: PS1
    Model: DELL 00
    Serial: 15688

$ battery-status --$KEY - separate keys for each type of information, maybe.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.