parent
a6abb0cc6a
commit
f93ceffa6d
9 changed files with 103 additions and 36 deletions
|
|
@ -144,7 +144,7 @@ type API interface {
|
|||
SetDisableDelay(delay time.Duration)
|
||||
|
||||
// GetBatteryBoost returns the battery boost
|
||||
GetBatteryBoost() bool
|
||||
GetBatteryBoost() int
|
||||
// SetBatteryBoost sets the battery boost
|
||||
SetBatteryBoost(enable bool) error
|
||||
|
||||
|
|
|
|||
|
|
@ -126,10 +126,10 @@ func (mr *MockAPIMockRecorder) EffectivePriority() *gomock.Call {
|
|||
}
|
||||
|
||||
// GetBatteryBoost mocks base method.
|
||||
func (m *MockAPI) GetBatteryBoost() bool {
|
||||
func (m *MockAPI) GetBatteryBoost() int {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "GetBatteryBoost")
|
||||
ret0, _ := ret[0].(bool)
|
||||
ret0, _ := ret[0].(int)
|
||||
return ret0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue