~ubuntu-branches/ubuntu/wily/solid/wily-proposed

« back to all changes in this revision

Viewing changes to src/solid/devices/backends/fakehw/fakebattery.cpp

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2015-02-10 16:51:02 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20150210165102-4un7obgqwb7fvyxy
Tags: 5.7.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
    return fakeDevice()->property("energy").toDouble();
151
151
}
152
152
 
 
153
double FakeBattery::energyFull() const
 
154
{
 
155
    return fakeDevice()->property("energyFull").toDouble();
 
156
}
 
157
 
 
158
double FakeBattery::energyFullDesign() const
 
159
{
 
160
    return fakeDevice()->property("energyFullDesign").toDouble();
 
161
}
 
162
 
153
163
double FakeBattery::energyRate() const
154
164
{
155
165
    return fakeDevice()->property("energyRate").toDouble();